diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-07-14 22:49:04 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-07-14 22:49:04 +0530 |
commit | 0cc4ed7dd6fc5b06de245246723138996d449571 (patch) | |
tree | b8de0f83a99e0123bf740b9c8a278c9cbdc039e9 /.config/nvim/lua/justsaumit/colorizer-config.lua | |
parent | 193034436557fb26adbc26f5fbd847016f6fe0be (diff) |
nvim: Adding basic neovim config
Diffstat (limited to '.config/nvim/lua/justsaumit/colorizer-config.lua')
-rw-r--r-- | .config/nvim/lua/justsaumit/colorizer-config.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.config/nvim/lua/justsaumit/colorizer-config.lua b/.config/nvim/lua/justsaumit/colorizer-config.lua new file mode 100644 index 0000000..569021d --- /dev/null +++ b/.config/nvim/lua/justsaumit/colorizer-config.lua @@ -0,0 +1,27 @@ +require("colorizer").setup { + filetypes = { "*" }, + user_default_options = { + RGB = true, -- #RGB hex codes + RRGGBB = true, -- #RRGGBB hex codes + names = true, -- "Name" codes like Blue or blue + RRGGBBAA = false, -- #RRGGBBAA hex codes + AARRGGBB = false, -- 0xAARRGGBB hex codes + rgb_fn = false, -- CSS rgb() and rgba() functions + hsl_fn = false, -- CSS hsl() and hsla() functions + css = false, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB + css_fn = false, -- Enable all CSS *functions*: rgb_fn, hsl_fn + -- Available modes for `mode`: foreground, background, virtualtext + mode = "background", -- Set the display mode. + -- Available methods are false / true / "normal" / "lsp" / "both" + -- True is same as normal + tailwind = false, -- Enable tailwind colors + -- parsers can contain values used in |user_default_options| + sass = { enable = false, parsers = { "css" }, }, -- Enable sass colors + virtualtext = "■", + -- update color values even if buffer is not focused + -- example use: cmp_menu, cmp_docs + always_update = false + }, + -- all the sub-options of filetypes apply to buftypes + buftypes = {}, +} |