aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/todo-comments.lua
diff options
context:
space:
mode:
authoreric.marin <maarin.eric@gmail.com>2024-10-16 21:45:26 +0200
committereric.marin <maarin.eric@gmail.com>2024-10-16 21:45:26 +0200
commitb0cfdab1e93f660fda8f9398e30c9c996a1760f3 (patch)
tree0b64ae82383491383be6570cfd8198db9f765a01 /nvim/lua/plugins/todo-comments.lua
parentab2dadca189217eb152a2bd157c651e9e3f3145b (diff)
downloaddotfiles-b0cfdab1e93f660fda8f9398e30c9c996a1760f3.tar.gz
dotfiles-b0cfdab1e93f660fda8f9398e30c9c996a1760f3.zip
nvim change
installed neorg removed trouble modified lspsaga
Diffstat (limited to 'nvim/lua/plugins/todo-comments.lua')
-rw-r--r--nvim/lua/plugins/todo-comments.lua18
1 files changed, 11 insertions, 7 deletions
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