Skip to content

Commit

Permalink
fix: ccc-nvim.lua
Browse files Browse the repository at this point in the history
Fix attached buffer error and utilize the auto loading instead of calling it directly
  • Loading branch information
khaneliman committed Jun 18, 2023
1 parent 042be08 commit 481fa9e
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 481fa9e

Please sign in to comment.