Replies: 1 comment
-
Show your configs, pls Here's mine and it works well -- ~/.config/nvim/lua/plugins/telescope.lua
return {
'nvim-telescope/telescope.nvim',
...
config = function()
local telescope = require('telescope')
telescope.setup {
...
extensions = {
...
['todo-comments'] = {},
},
}
...
telescope.load_extension('todo-comments')
end
}
-- ~/.config/nvim/lua/keymaps.lua
keymap.set(
{ 'n' },
'<leader>tT',
function()
require('telescope').extensions['todo-comments'].todo()
end,
{ desc = 'Telescope: Todo-Comments' }
)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I've been trying to configure todo-comments with telescope, but I'm receiving an error while it tried to load the extension, how could I load the TodoTelescope extension?
would be great to show and example of configuration in the README :)
Beta Was this translation helpful? Give feedback.
All reactions