summaryrefslogtreecommitdiff
path: root/lua/nv-colorizer
diff options
context:
space:
mode:
authorChristian Chiarulli <[email protected]>2021-03-14 15:10:28 -0400
committerGitHub <[email protected]>2021-03-14 15:10:28 -0400
commit0dc3c5030b778d5256cad5d9529e9ecf7fbfb233 (patch)
tree420e44f62d95d138eec36baa4d1bd5b6c9390ae6 /lua/nv-colorizer
parentd002b0419a8621c5575c14119d0b8d9c4a7a44a0 (diff)
The Lua Journey Begins...
Diffstat (limited to 'lua/nv-colorizer')
-rw-r--r--lua/nv-colorizer/init.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/nv-colorizer/init.lua b/lua/nv-colorizer/init.lua
new file mode 100644
index 00000000..1b22f7f7
--- /dev/null
+++ b/lua/nv-colorizer/init.lua
@@ -0,0 +1,12 @@
+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
+ })