♻️ refactor(todo-comments): move todo-comments opts to separate file for better organization
This commit is contained in:
1 file changed
+3
-6
@@ -374,11 +374,6 @@ local plugins = {
|
|||||||
'folke/todo-comments.nvim',
|
'folke/todo-comments.nvim',
|
||||||
event = { 'BufReadPre', 'BufNewFile' },
|
event = { 'BufReadPre', 'BufNewFile' },
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||||
opts = {
|
|
||||||
highlight = {
|
|
||||||
multiline = false, -- I usually only want one line to be highlighted
|
|
||||||
},
|
|
||||||
},
|
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
'<leader>tT',
|
'<leader>tT',
|
||||||
@@ -390,7 +385,9 @@ local plugins = {
|
|||||||
{
|
{
|
||||||
'<leader>tF',
|
'<leader>tF',
|
||||||
function()
|
function()
|
||||||
require('snacks').picker.todo_comments({ keywords = { 'FIX', 'FIXME' } })
|
require('snacks').picker.todo_comments({
|
||||||
|
keywords = { 'FIX', 'FIXME' },
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
desc = 'Fix/Fixme',
|
desc = 'Fix/Fixme',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user