From b7de30e4315f293f738a31516d857074f120a093 Mon Sep 17 00:00:00 2001 From: asep komarudin Date: Wed, 8 Mar 2023 06:41:08 +0700 Subject: [PATCH] update event --- lua/custom/plugins/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 9125c46..b7ef805 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -54,7 +54,7 @@ return { -- better todo coloring and icon { "folke/todo-comments.nvim", - event = "BufRead", + event = { "BufReadPost", "BufNewFile" }, config = function() require("todo-comments").setup() end,