ap / vim-css-color

Preview colours in source code while editing
http://www.vim.org/scripts/script.php?script_id=5056
MIT License
1.77k stars 78 forks source link

incompatible with nvim-treesitter #184

Closed iHnR closed 1 year ago

iHnR commented 1 year ago

Description

nvim-treesitter highlighting seems to overwrite the colors provided by this plugin. I didn't get any highlighting after installing but got it to work after running :TSDisable highlight.

Reproduce:

  1. Install neovim >=0.8.0
  2. Install treesitter
  3. run :TSInstall css, :TSEnable highlight

Workaround options:

iHnR commented 1 year ago

Sorry. Noticed it's a duplicate.

ap commented 1 year ago

Nevertheless, thank you for those workarounds! I’ve copied them to the open issue so they’ll be useful to anyone else coming here for the same problem. I’ve credited you indirectly by issue reference rather than by name in order to avoid cluttering your mentions, in case you care about that.