From 0111b31cb0008f4fcc55ddc373e63f124652b156 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 7 Jul 2021 01:05:06 +0200 Subject: Updated config based on Chris LunarVim release --- .config/nvim/lua/cfg/colorizer/init.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .config/nvim/lua/cfg/colorizer/init.lua (limited to '.config/nvim/lua/cfg/colorizer') 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 -- cgit v1.2.3-70-g09d2