You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I wanted to set up this plugin to give colorizing support to tailwind classes but, I don't want to colorize every word matching with a color name, but tailwind option only seems to work when names option is true
To Reproduce
Set names option as false and then tailwind colorizing won't work anymore
Expected behavior
With names option set as false it should still work for tailwind classes
Screenshots
tailwind option set as true and names option to default
tailwind option set as true and names options also set as true
Operating System:
Ubuntu 22.10 x86_64
Neovim Version:
v0.9.0
Colorizer Version:
Command below does not print anything find ~/.config/nvim/ -type d -name 'nvim-colorizer.lua' -exec git rev-parse HEAD \;
here's the installation data (from lazy)
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Hi, I recently felt the urge to be able to highlight my own custom color names, so I did some work on the names parser also responsible for highlighting tailwind colors and I think it should easily fix your issue. In case you want to try my fork until it gets merged you'll have to put the tailwind config value into names, so it would be like: names='tailwind'|'tailwind_lsp'|'tailwind_both'
I hope it solves the issue for you without any side effects.
Describe the bug
I wanted to set up this plugin to give colorizing support to tailwind classes but, I don't want to colorize every word matching with a color name, but
tailwind
option only seems to work whennames
option istrue
To Reproduce
Set
names
option as false and then tailwind colorizing won't work anymoreExpected behavior
With
names
option set as false it should still work for tailwind classesScreenshots
tailwind
option set astrue
andnames
option to defaulttailwind
option set astrue
andnames
options also set astrue
Operating System:
Ubuntu 22.10 x86_64
Neovim Version:
v0.9.0
Colorizer Version:
Command below does not print anything
find ~/.config/nvim/ -type d -name 'nvim-colorizer.lua' -exec git rev-parse HEAD \;
here's the installation data (from lazy)
Additional context
N/A
The text was updated successfully, but these errors were encountered: