♻️ refactor(todo-comments): move todo-comments opts to separate file for better organization

This commit is contained in:
sankalp committed 2025-07-26 00:02:20 +05:45
1 parent 3c632e939d
commit ef697dd4ba
1 file changed
+3 -6
+3 -6
View File
@@ -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',
},