Closed gabrieldechichi closed 2 years ago
This is expected, the main complaint back in #4 was the fact that highlighting was corrupted after adding/deleting lines. That should no longer be the case for neovim or newer vim as this plugin uses highlighting APIs that move with the text.
ccls doesn't update highlighting until the file is saved. I consider this a feature not a bug, some users of the clangd integration have complained about highlight updating too frequently.
I'm using vim-lsp-css-highlight with Neovim + ccls + coc and highlight only updates after writing to the buffer.
I did see this highlight issue which said the problem was resolved, but it still happens for me with minimum config.
OS: Windows 11
nvim v0.5.1
vim-lsp-css-highlight - main
coc-vim - release
ccls version 0.20210330-0-g0ada56ef
clang version 11.0.1
init.vim (minimal):
Repro steps:
https://user-images.githubusercontent.com/15620434/142736332-34421828-76da-4d72-a28b-60ae1e6cf837.mp4