Using latest feature on neovim 0.5.0 for diagnostics highlights #3253
chemzqm
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
WARING if you're using neovim 0.5.0, make sure you have upgraded it to latest 0.5.0.
Diagnostics highlights update now use
nvim_buf_get_extmarks
withdetails
to diff current highlights with upcoming highlights, this helps to improve user experience. Check the code atcoc.nvim/autoload/coc/highlight.vim
Line 159 in 05fb7ab
For performance reason, we've also limited maximum highlights of buffer by
diagnostic.highlighLimit
configuration, which default to 1000, there would be no highlights for diagnostics exceed that limit.Beta Was this translation helpful? Give feedback.
All reactions