From 481fa9e5ce4dc05aa31847f9df60f0d30200c7bb Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 18 Jun 2023 10:41:37 -0500 Subject: [PATCH] fix: ccc-nvim.lua Fix attached buffer error and utilize the auto loading instead of calling it directly --- lua/astrocommunity/color/ccc-nvim/ccc-nvim.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lua/astrocommunity/color/ccc-nvim/ccc-nvim.lua b/lua/astrocommunity/color/ccc-nvim/ccc-nvim.lua index 06a941259..07751cd95 100644 --- a/lua/astrocommunity/color/ccc-nvim/ccc-nvim.lua +++ b/lua/astrocommunity/color/ccc-nvim/ccc-nvim.lua @@ -5,9 +5,5 @@ return { event = "User AstroFile", keys = { { "uC", "CccPick", desc = "Toggle colorizer" } }, opts = { highlighter = { auto_enable = true } }, - config = function(_, opts) - require("ccc").setup(opts) - require("ccc.highlighter"):enable() - end, }, }