feat: TodoTelescope

This commit is contained in:
Stefan 2024-08-02 10:46:10 +02:00
parent cde14594aa
commit fbdcb21df7
2 changed files with 10 additions and 1 deletions

View file

@ -615,6 +615,15 @@ require('lazy').setup {
return '%2l:%-2v'
end
-- {
-- cursor = {
-- enable = false
-- },
-- scroll = {
-- enable = false
-- },
-- }
-- ... and there is more!
-- Check out: https://github.com/echasnovski/mini.nvim
end,

View file

@ -3,10 +3,10 @@ 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,
opts = { signs = false },
}