summaryrefslogtreecommitdiff
path: root/lua/lv-colorizer/init.lua
diff options
context:
space:
mode:
authorRafael <[email protected]>2021-07-04 22:14:01 -0300
committerRafael <[email protected]>2021-07-04 22:14:01 -0300
commit9f511bcb594b7e2461c97cb8182603928c773c2f (patch)
treec08a825ae91201fb0062dbd7a8094357f5c78dc9 /lua/lv-colorizer/init.lua
parentb461c878e6f70a6795d0e9b438335ccfecbb4bd9 (diff)
start formatting rules
Diffstat (limited to 'lua/lv-colorizer/init.lua')
-rw-r--r--lua/lv-colorizer/init.lua23
1 files changed, 10 insertions, 13 deletions
diff --git a/lua/lv-colorizer/init.lua b/lua/lv-colorizer/init.lua
index ed8fd408..ac5f1356 100644
--- a/lua/lv-colorizer/init.lua
+++ b/lua/lv-colorizer/init.lua
@@ -1,13 +1,10 @@
-require'colorizer'.setup(
- {'*';},
- {
- RGB = true; -- #RGB hex codes
- RRGGBB = true; -- #RRGGBB hex codes
- 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
- })
- -- names = true; -- "Name" codes like Blue
-
+require("colorizer").setup({ "*" }, {
+ RGB = true, -- #RGB hex codes
+ RRGGBB = true, -- #RRGGBB hex codes
+ 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
+})
+-- names = true; -- "Name" codes like Blue