diff options
Diffstat (limited to '.config/nvim/lua/cfg/colorizer')
-rw-r--r-- | .config/nvim/lua/cfg/colorizer/init.lua | 10 |
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 |