summaryrefslogtreecommitdiff
path: root/lua/plugins/colorizer-config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/colorizer-config.lua')
-rw-r--r--lua/plugins/colorizer-config.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/plugins/colorizer-config.lua b/lua/plugins/colorizer-config.lua
new file mode 100644
index 00000000..e990d505
--- /dev/null
+++ b/lua/plugins/colorizer-config.lua
@@ -0,0 +1,15 @@
+require'colorizer'.setup(
+ {'*';},
+ {
+ RGB = true; -- #RGB hex codes
+ RRGGBB = true; -- #RRGGBB hex codes
+ -- names = true; -- "Name" codes like Blue
+ RRGGBBAA = true; -- #RRGGBBAA hex codes
+ rgb_fn = true; -- CSS rgb() and rgba() functions
+ hsl_fn = true; -- CSS hsl() and hsla() functions
+ css = true; -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
+ css_fn = true; -- Enable all CSS *functions*: rgb_fn, hsl_fn
+ })
+
+
+