feat: added shortcut for TodoTelescope command
This commit is contained in:
parent
f8ff1fa67a
commit
cde14594aa
2 changed files with 12 additions and 2 deletions
12
lua/custom/plugins/todo-comments.lua
Normal file
12
lua/custom/plugins/todo-comments.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
-- Highlight todo, notes, etc in comments
|
||||
return {
|
||||
'folke/todo-comments.nvim',
|
||||
event = 'VimEnter',
|
||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||
opts = { signs = false },
|
||||
config = function ()
|
||||
require('todo-comments').setup()
|
||||
|
||||
vim.keymap.set('n', '<leader>st', '<CMD>TodoTelescope<CR>', { desc = 'Open all todos' })
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue