From 86c0c3694c93025dfec23f27266905c12f446a4e Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Tue, 22 Aug 2023 19:43:07 +0100 Subject: Initial commit --- .config/nvim/lua/pluginsconfig/colorizer.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .config/nvim/lua/pluginsconfig/colorizer.lua (limited to '.config/nvim/lua/pluginsconfig/colorizer.lua') diff --git a/.config/nvim/lua/pluginsconfig/colorizer.lua b/.config/nvim/lua/pluginsconfig/colorizer.lua new file mode 100644 index 0000000..2ad4f6e --- /dev/null +++ b/.config/nvim/lua/pluginsconfig/colorizer.lua @@ -0,0 +1,12 @@ + require('colorizer').setup({ '*' }, { + RGB = true, -- #RGB hex codes + RRGGBB = true, -- #RRGGBB hex codes + names = true, -- "Name" codes like Blue + 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 + mode = 'background', -- Set the display mode. background / foreground + }) + -- cgit v1.2.3