♻️ 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',
|
||||
event = { 'BufReadPre', 'BufNewFile' },
|
||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||
opts = {
|
||||
highlight = {
|
||||
multiline = false, -- I usually only want one line to be highlighted
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
'<leader>tT',
|
||||
@@ -390,7 +385,9 @@ local plugins = {
|
||||
{
|
||||
'<leader>tF',
|
||||
function()
|
||||
require('snacks').picker.todo_comments({ keywords = { 'FIX', 'FIXME' } })
|
||||
require('snacks').picker.todo_comments({
|
||||
keywords = { 'FIX', 'FIXME' },
|
||||
})
|
||||
end,
|
||||
desc = 'Fix/Fixme',
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user