add(nvim): telescope searches for todo-comments and lsp

This commit is contained in:
Léana 江 2023-04-29 00:06:18 +02:00 committed by Léana 江
parent df60482da3
commit 6e42dc100a
2 changed files with 18 additions and 12 deletions

View file

@ -57,3 +57,8 @@ require "todo-comments".setup {
-- pattern = [[\b(KEYWORDS)\b]], -- match without the extra colon. You'll likely get false positives
},
}
vim.keymap.set('n', '<leader>td',
function() vim.cmd("TodoTelescope") end,
{ desc = '[S]earch [H]elp' }
)