X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/fd3198e899ebd966f3aee060553f8d1d153b50da..38ac86c63057044211d9ed765b84ad2a35814335:/nvim/lua/plugins/editor.lua diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index 5dcdccf..b8bd5aa 100644 --- a/nvim/lua/plugins/editor.lua +++ b/nvim/lua/plugins/editor.lua @@ -73,7 +73,7 @@ return { -- Finds and lists all of the TODO, HACK, BUG, etc comment -- in your project and loads them into a browsable list. cmd = { "TodoTrouble"}, - event = "LazyFile", + event = { "BufReadPost", "BufNewFile", "BufWritePre" }, -- stylua: ignore keys = { { "]t", function() require("todo-comments").jump_next() end, desc = "Next Todo Comment" }, @@ -104,7 +104,7 @@ return { -- git signs highlights text that has changed since the list -- git commit, and also lets you interactively stage & unstage -- hunks in a commit. - event = "LazyFile", + event = { "BufReadPost", "BufNewFile", "BufWritePre" }, opts = { signs = { add = { text = "▎" },