Colors just flare up briefly and then disappear again #2
Comments
that's very strange. do you have any other tailwind colorizer installed? |
do they come back if you start editing the file |
I don't use multiple in parallel if that's what you mean.
Yes, but only if I edit the text of the color class. Not if I just edit anything. |
I can't reproduce this.. some kind of screen recording or something would help. its probably conflicting with something |
unfortunately you might just have to go and disable all other plugins until it works |
Disabled everything except for keymaps and LSP stuff (which obviously I need for tailwind). |
what version neovim are you using |
0.7.2 |
try latest git because thats where I tested everything |
It works fine for me on 0.7.2 |
I encountered something similar, the Tailwindcss LS worked fine, but in .css files with cssls, the colors would show when entering the buffer, but if i moved the cursor around they would disappear. I found that disabling "xiyaowong/nvim-transparent" fixed the problem for me, i would guess it is something related to opacity or highlight groups |
I don't use that plugin and I already disabled all plugins that aren't absolutely necessary. |
Okay, i have been able to reproduce this issue. Are you passing capabilities.textDocument.colorProvider = {
dynamicRegistration = true
} to your lsp servers like the readme? |
@mrshmllow yes, I set |
Title says it all.
Expected: Background of tailwind color classes stays colorized in the appropriate color.
Actual: Background returns to default background color after a couple ms.
The text was updated successfully, but these errors were encountered: