From 6f12afbce0098155daa8e21a209234fe09c825d1 Mon Sep 17 00:00:00 2001 From: Test User Date: Fri, 14 Nov 2025 19:05:57 +0200 Subject: [PATCH] chore: move comments highlight to a separate plugin --- init.lua | 3 --- lua/custom/plugins/todo-comments.lua | 8 ++++++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 lua/custom/plugins/todo-comments.lua diff --git a/init.lua b/init.lua index 15d1ade2..b67c393e 100644 --- a/init.lua +++ b/init.lua @@ -888,9 +888,6 @@ require('lazy').setup({ }, }, - -- Highlight todo, notes, etc in comments - { 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } }, - { -- Collection of various small independent plugins/modules 'echasnovski/mini.nvim', config = function() diff --git a/lua/custom/plugins/todo-comments.lua b/lua/custom/plugins/todo-comments.lua new file mode 100644 index 00000000..8d7b97a9 --- /dev/null +++ b/lua/custom/plugins/todo-comments.lua @@ -0,0 +1,8 @@ +return { + { + 'folke/todo-comments.nvim', + event = 'VimEnter', + dependencies = { 'nvim-lua/plenary.nvim' }, + opts = { signs = false }, + }, +}