summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_colorizer
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/_colorizer')
-rw-r--r--.config/nvim/lua/_colorizer/init.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lua/_colorizer/init.lua b/.config/nvim/lua/_colorizer/init.lua
new file mode 100644
index 0000000..1e25d7d
--- /dev/null
+++ b/.config/nvim/lua/_colorizer/init.lua
@@ -0,0 +1,13 @@
+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
+ })
+