Skip to content

Commit

Permalink
feat: call telescope without load_extension (#75)
Browse files Browse the repository at this point in the history
With this patch, you can call `:Telescope possession` when you have not
called `telescope.load_extension()` before.

See nvim-telescope/telescope.nvim#2655

NOTE: You still need to call `load_extension()` for calling
`telescope.extensions.possession.list()` / `.possession()`.
  • Loading branch information
delphinus authored Jul 22, 2024
1 parent e3b9d7c commit b0a2b4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/telescope/_extensions/possession.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ local pickers = require('possession.telescope')
return telescope.register_extension {
exports = {
list = pickers.list,
possession = pickers.list,
},
}

0 comments on commit b0a2b4c

Please sign in to comment.