diff options
Diffstat (limited to 'lua/tjk/plugins/colorizer.lua')
| -rw-r--r-- | lua/tjk/plugins/colorizer.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/tjk/plugins/colorizer.lua b/lua/tjk/plugins/colorizer.lua new file mode 100644 index 0000000..120fbb8 --- /dev/null +++ b/lua/tjk/plugins/colorizer.lua @@ -0,0 +1,15 @@ +return { + "colorizer", + "https://github.com/catgoose/nvim-colorizer.lua", + setup = { + lazy_load = true, + options = { + parsers = { + css = true, -- preset: enables names, hex, rgb, hsl, oklch, css_var + tailwind = { enable = true, update_names = true, lsp = true }, -- tailwind + lsp context + xterm = { enable = true }, -- xterm 256-color codes (#xNN, \e[38;5;NNNm) + xcolor = { enable = true }, -- LaTeX xcolor expressions (e.g. red!30) + }, + }, + }, +} |
