feat: TodoTelescope
This commit is contained in:
parent
cde14594aa
commit
fbdcb21df7
2 changed files with 10 additions and 1 deletions
9
init.lua
9
init.lua
|
|
@ -615,6 +615,15 @@ require('lazy').setup {
|
||||||
return '%2l:%-2v'
|
return '%2l:%-2v'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- {
|
||||||
|
-- cursor = {
|
||||||
|
-- enable = false
|
||||||
|
-- },
|
||||||
|
-- scroll = {
|
||||||
|
-- enable = false
|
||||||
|
-- },
|
||||||
|
-- }
|
||||||
|
|
||||||
-- ... and there is more!
|
-- ... and there is more!
|
||||||
-- Check out: https://github.com/echasnovski/mini.nvim
|
-- Check out: https://github.com/echasnovski/mini.nvim
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ return {
|
||||||
'folke/todo-comments.nvim',
|
'folke/todo-comments.nvim',
|
||||||
event = 'VimEnter',
|
event = 'VimEnter',
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||||
opts = { signs = false },
|
|
||||||
config = function ()
|
config = function ()
|
||||||
require('todo-comments').setup()
|
require('todo-comments').setup()
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>st', '<CMD>TodoTelescope<CR>', { desc = 'Open all todos' })
|
vim.keymap.set('n', '<leader>st', '<CMD>TodoTelescope<CR>', { desc = 'Open all todos' })
|
||||||
end,
|
end,
|
||||||
|
opts = { signs = false },
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue