summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_colorizer
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-16 21:54:42 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-16 21:54:42 +0100
commit2b6ae8473e1b0fb8cc0bd16aa8c485a77ee5e847 (patch)
tree3e9e499480f1694f25a0835877e3ba5e63e403d4 /.config/nvim/lua/_colorizer
parentc0284168111a9b74761cf2094bdc16fec9006f7b (diff)
renaming, treesitter buggy
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
+ })
+