Skip to content

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Dec 6, 2024

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 6, 2024
@Veykril
Copy link
Member Author

Veykril commented Dec 6, 2024

r? @SomeoneToIgnore

@Veykril Veykril changed the title fix: Temporarily disable completion resolve support for helix fix: Temporarily disable completion resolve support for helix and neovim Dec 6, 2024
}

pub fn client_is_neovim(&self) -> bool {
self.client_info.as_ref().map(|it| it.name == "Neovim").unwrap_or_default()
Copy link
Member Author

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

Copy link
Contributor

@SomeoneToIgnore SomeoneToIgnore left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants