From c3cb43bdad94921c3084f8dcd43f373314abb239 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 13 Jul 2023 18:57:58 -0500 Subject: [PATCH] feat(nvim): enable ccc by default --- dots/.config/nvim/lua/plugins/configs/ccc.lua | 5 ++++- dots/.config/nvim/lua/plugins/plugins.lua | 7 ------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/ccc.lua b/dots/.config/nvim/lua/plugins/configs/ccc.lua index a794e07e..31318598 100644 --- a/dots/.config/nvim/lua/plugins/configs/ccc.lua +++ b/dots/.config/nvim/lua/plugins/configs/ccc.lua @@ -84,5 +84,8 @@ ccc.setup({ inputs = { RgbHslCmykInput, }, + highlighter = { + auto_enable = true, + lsp = true + } }) -vim.cmd.CccHighlighterEnable() diff --git a/dots/.config/nvim/lua/plugins/plugins.lua b/dots/.config/nvim/lua/plugins/plugins.lua index 93d1e2b2..4d4346f3 100755 --- a/dots/.config/nvim/lua/plugins/plugins.lua +++ b/dots/.config/nvim/lua/plugins/plugins.lua @@ -756,13 +756,6 @@ lazy.setup({ config = function() require("plugins.configs.ccc") end, - cmd = { - "CccPick", - "CccConvert", - "CccHighlighterEnable", - "CccHighlighterToggle", - "CccHighlighterDisable", - }, }, -- Task runner & job management