jackguo380 / vim-lsp-cxx-highlight

Vim plugin for C/C++/ObjC semantic highlighting using cquery, ccls, or clangd
MIT License
337 stars 26 forks source link

Fix api changes in neovim with version >= 0.5.1 #73

Closed trotux closed 2 years ago

trotux commented 2 years ago

Fix changes in api created by this commit https://github.com/neovim/neovim/commit/cd8f6c5fb7858d8981fdfb2067bddb3eb86c13d0

jackguo380 commented 2 years ago

Oops I had missed this one, sorry.

I had just merged #76 which also says it fixes it. I do prefer the code there over explicit version checking when possible.

Can you let me know if those changes work for you as well? I don't actually have a good working nvim-lsp configuration to test with. If it's not I'll have to look over it again and possibly merge this PR instead.

trotux commented 2 years ago

Yeah, it works well. I did version checking because of function signarures has changed.