You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I switched from nvim-lspconfig to LSP-zero and so far, everything works great.
Although there is one missing functionality for me: auto include of dependencies for C++ from the standard library.
For instance, if we create a new empty main.cpp:
intmain (int argc, char *argv[])
{
std::vec // no include (#include <vector>) and autocompletion for std::vector return0;
}
Previously with nvim-lspconfig, there has been a suggestion to auto-complete std::vector, triggering the necessary include.
From my understanding, the cmp documentation mentions that this should be possible when the capabilities are set accordingly, which should be the default.
Unfortunately, this does not seem to have any effect.
I used the default config, as shown in your Readme.
Thanks so much
The text was updated successfully, but these errors were encountered:
Actually, no for this single cpp file I haven't. I thought I would be possible to let clang suggest system includes. But I will look deeper into clangd. Thanks though
Hi,
thanks for the great tool.
I switched from nvim-lspconfig to LSP-zero and so far, everything works great.
Although there is one missing functionality for me: auto include of dependencies for C++ from the standard library.
For instance, if we create a new empty main.cpp:
Previously with nvim-lspconfig, there has been a suggestion to auto-complete std::vector, triggering the necessary include.
From my understanding, the cmp documentation mentions that this should be possible when the capabilities are set accordingly, which should be the default.
Unfortunately, this does not seem to have any effect.
I used the default config, as shown in your Readme.
Thanks so much
The text was updated successfully, but these errors were encountered: