Skip to content

Commit

Permalink
fix(ccc-nvim.lua): highlighter attached buffer error (AstroNvim#283)
Browse files Browse the repository at this point in the history
fix: ccc-nvim.lua

Fix attached buffer error and utilize the auto loading instead of calling it directly
  • Loading branch information
khaneliman authored and RayJameson committed Jun 20, 2023
1 parent 3d8ba8d commit 9989b9d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lua/astrocommunity/color/ccc-nvim/ccc-nvim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@ return {
event = "User AstroFile",
keys = { { "<leader>uC", "<cmd>CccPick<cr>", desc = "Toggle colorizer" } },
opts = { highlighter = { auto_enable = true } },
config = function(_, opts)
require("ccc").setup(opts)
require("ccc.highlighter"):enable()
end,
},
}

0 comments on commit 9989b9d

Please sign in to comment.