summaryrefslogtreecommitdiff
path: root/lua/config/colorpicker.lua
diff options
context:
space:
mode:
authorbh <qn+git@excalibur.computer>2025-11-12 23:57:20 +0800
committerbh <qn+git@excalibur.computer>2025-11-12 23:57:20 +0800
commitcc5ca2e8c8fa3cf2e60321fdb0cb4ddb66551ff2 (patch)
treef6173f63d1bd48710728817bd338838654ec60de /lua/config/colorpicker.lua
Initial Commit
Diffstat (limited to 'lua/config/colorpicker.lua')
-rw-r--r--lua/config/colorpicker.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/config/colorpicker.lua b/lua/config/colorpicker.lua
new file mode 100644
index 0000000..39772be
--- /dev/null
+++ b/lua/config/colorpicker.lua
@@ -0,0 +1,16 @@
+return function()
+ -- Enable true color
+ vim.opt.termguicolors = true
+
+ local ccc = require("ccc")
+ local mapping = ccc.mapping
+
+ ccc.setup({
+ highlighter = {
+ auto_enable = true,
+ lsp = true,
+ },
+ -- add other options here
+ })
+end
+