yegappan / lsp

Language Server Protocol (LSP) plugin for Vim9
MIT License
496 stars 59 forks source link

Snippet expansion in clangd headers #503

Open IC0hO opened 7 months ago

IC0hO commented 7 months ago

I am using this LSP with vim-vsnip, and the LSP server is using clangd. I encountered a problem that is the same as the one described in vim-vsnip. The author pointed out that it may be a problem with LSP completion. Is that the case?

arashrun commented 7 months ago

I use ultisnips, and there has the same problem

I just change the include snippets in vim-snippets that work for me

// snippets befoer:
#include <iostream>

// snippets changed after:
#include <iostream