From 0dc3c5030b778d5256cad5d9529e9ecf7fbfb233 Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Sun, 14 Mar 2021 15:10:28 -0400 Subject: The Lua Journey Begins... --- lua/nv-colorizer/init.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lua/nv-colorizer/init.lua (limited to 'lua/nv-colorizer') 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 + }) -- cgit v1.2.3