Open
Description
Describe the bug
When the tailwind
option is set to both
and virtualtext
is enabled, it appears twice. The second virtual text only appears after the Tailwind Language Server is loaded and disappears when it is unloaded.
To Reproduce
- Install the Tailwind CSS Language Server
- Install and configure colorizer:
user_default_options = { tailwind = "both", mode = "virtualtext" }
- Open an HTML file in a Tailwind project (e.g., bradtraversy/simple-tailwind-starter) and make sure the language server is loaded
- Use any tailwind color name and look for the virtual text appearing twice.
Expected behavior
The virtual text should only appear once.
Screenshots
Operating System: Arch Linux (rolling)
Neovim Version: 0.11.2