From d09fb8c7fd6ef3c3819b1fe7083805b7edacc6ea Mon Sep 17 00:00:00 2001 From: notomo Date: Thu, 13 Jun 2024 19:57:27 +0900 Subject: [PATCH] Fix ColorScheme autocmd --- lua/piemenu/view/highlight_group.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/piemenu/view/highlight_group.lua b/lua/piemenu/view/highlight_group.lua index e97a48f..f647fba 100644 --- a/lua/piemenu/view/highlight_group.lua +++ b/lua/piemenu/view/highlight_group.lua @@ -17,7 +17,9 @@ local group = vim.api.nvim_create_augroup("piemenu", {}) vim.api.nvim_create_autocmd({ "ColorScheme" }, { group = group, pattern = { "*" }, - callback = setup_highlight_groups, + callback = function() + setup_highlight_groups() + end, }) return setup_highlight_groups()