From 67378a8352c72e5172057e87ab2d296498620647 Mon Sep 17 00:00:00 2001 From: Bruno Krugel Date: Mon, 15 Jul 2024 21:32:34 -0300 Subject: [PATCH] prevent colorizer to attach to lazy window (#2929) --- lua/nvchad/plugins/init.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lua/nvchad/plugins/init.lua b/lua/nvchad/plugins/init.lua index 94371be3..6d3d0820 100644 --- a/lua/nvchad/plugins/init.lua +++ b/lua/nvchad/plugins/init.lua @@ -189,7 +189,13 @@ return { { "NvChad/nvim-colorizer.lua", event = "User FilePost", - opts = { user_default_options = { names = false } }, + opts = { + user_default_options = { names = false } + filetypes = { + "*", + "!lazy", + }, + }, config = function(_, opts) require("colorizer").setup(opts)