summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/cfg/colorizer
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-07 01:05:06 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-07 01:05:06 +0200
commit0111b31cb0008f4fcc55ddc373e63f124652b156 (patch)
tree075490fb19c4838fc58129da9f902a3370f6029e /.config/nvim/lua/cfg/colorizer
parent6fcc69113bd7cc7295ef9dc068da80d043cbb8bb (diff)
Updated config based on Chris LunarVim release
Diffstat (limited to '.config/nvim/lua/cfg/colorizer')
-rw-r--r--.config/nvim/lua/cfg/colorizer/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/lua/cfg/colorizer/init.lua b/.config/nvim/lua/cfg/colorizer/init.lua
new file mode 100644
index 0000000..ac5f135
--- /dev/null
+++ b/.config/nvim/lua/cfg/colorizer/init.lua
@@ -0,0 +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