-
Notifications
You must be signed in to change notification settings - Fork 271
How to set InitializeParams.initializationOptions? #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Resolved in ef2b82c. |
I added a little wiki page to help to settup cquery with LanguageClient-neovim https://github.com/autozimu/LanguageClient-neovim/wiki/cquery |
It's better to have some way to use different initializationOptions for different language servers
|
That's right, I just asked about this here: #633 (comment). |
"Method2" of the Yaml wiki entry shows one possible way to circumvent this limitation, but it's a bit ugly: https://github.com/autozimu/LanguageClient-neovim/wiki/yaml-language-server, it uses |
I am trying to get this client working with CQuery, a new C++ language server. However, it reported that
FATL| Initialization parameters (particularily cacheDirectory) are required
in its log because duringinitialize
,initializationOptions.cacheDirectory
must be set.It seems that currently there is no way to set these options in this plugin. This problem also affects
clangd
, which by default works only in C++98 mode and considers all syntax in C++11 as errors. Is it possible to setinitializationOptions
with default values/callback functions?Thanks.
The text was updated successfully, but these errors were encountered: