diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-05-22 17:06:16 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-05-22 17:06:16 -0500 |
| commit | e3f222487a57b2f3f995628630cd9ae65c3a210b (patch) | |
| tree | f1a3c8582ae71d859b2dd6e7c3a55b2f2a30d3f8 /lua/tjk/plugins/colorizer.lua | |
| parent | f83593f430118f0499454f88cbe028c822e760a3 (diff) | |
| download | nvim-e3f222487a57b2f3f995628630cd9ae65c3a210b.tar.xz nvim-e3f222487a57b2f3f995628630cd9ae65c3a210b.zip | |
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) + }, + }, + }, +} |
