From b0cfdab1e93f660fda8f9398e30c9c996a1760f3 Mon Sep 17 00:00:00 2001 From: "eric.marin" Date: Wed, 16 Oct 2024 21:45:26 +0200 Subject: nvim change installed neorg removed trouble modified lspsaga --- nvim/lua/plugins/todo-comments.lua | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'nvim/lua/plugins/todo-comments.lua') diff --git a/nvim/lua/plugins/todo-comments.lua b/nvim/lua/plugins/todo-comments.lua index 34da0fe..85e8090 100644 --- a/nvim/lua/plugins/todo-comments.lua +++ b/nvim/lua/plugins/todo-comments.lua @@ -1,9 +1,5 @@ -return { - "folke/todo-comments.nvim", - dependencies = { "nvim-lua/plenary.nvim" }, - lazy = true, - event = { "BufReadPost", "BufWritePost", "BufNewFile" }, - opts = { +local config = function() + require("todo-comments").setup({ keywords = { FIX = { icon = "", color = "error", alt = { "FIXME", "BUG", "FIXIT", "ISSUE" } }, TODO = { icon = "", color = "info" }, @@ -22,7 +18,15 @@ return { hack = "#F5A97F", perf = "#C6A0F6" } - } + }) +end + +return { + "folke/todo-comments.nvim", + dependencies = { "nvim-lua/plenary.nvim" }, + lazy = true, + event = { "BufReadPost", "BufWritePost", "BufNewFile" }, + config = config } -- FIX: ciao -- cgit v1.2.3