-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix: Temporarily disable completion resolve support for helix and neovim #18630
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
Conversation
} | ||
|
||
pub fn client_is_neovim(&self) -> bool { | ||
self.client_info.as_ref().map(|it| it.name == "Neovim").unwrap_or_default() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found this string in one issue in hrsh7th/cmp-nvim-lsp#36, so I'll just hope that that works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for coming up with this, I would have been waiting for the spec clarifications still otherwise 😢
@@ -41,7 +41,11 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities { | |||
})), | |||
hover_provider: Some(HoverProviderCapability::Simple(true)), | |||
completion_provider: Some(CompletionOptions { | |||
resolve_provider: Some(config.caps().completions_resolve_provider()), | |||
resolve_provider: if config.client_is_helix() || config.client_is_neovim() { | |||
None |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
0b82318
to
ad01392
Compare
cc #18547 (comment)