summaryrefslogtreecommitdiff
path: root/lua/lv-colorizer/init.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-05 16:26:31 -0400
committerchristianchiarulli <[email protected]>2021-07-05 16:26:31 -0400
commit20485971641a9d916640ccad05586a641c984ed6 (patch)
treed397a3a9adba502b4c26b802d897b8310972f76f /lua/lv-colorizer/init.lua
parent56e82dac4497293541099185441485dd31e98dc8 (diff)
parenta469c710bfc01f291df68dba40464caaa2b496da (diff)
Merge branch 'master' of github.com:ChristianChiarulli/LunarVim into stable
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