Stop excluding Helix from the general resolve path

This commit is contained in:
Kirill Bulatov 2024-12-09 22:15:13 +02:00
parent d348ffb480
commit 5906bda975
2 changed files with 2 additions and 2 deletions

View file

@ -1440,7 +1440,7 @@ impl Config {
limit: self.completion_limit(source_root).to_owned(),
enable_term_search: self.completion_termSearch_enable(source_root).to_owned(),
term_search_fuel: self.completion_termSearch_fuel(source_root).to_owned() as u64,
fields_to_resolve: if self.client_is_helix() || self.client_is_neovim() {
fields_to_resolve: if self.client_is_neovim() {
CompletionFieldsToResolve::empty()
} else {
CompletionFieldsToResolve::from_client_capabilities(&client_capability_fields)

View file

@ -41,7 +41,7 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
})),
hover_provider: Some(HoverProviderCapability::Simple(true)),
completion_provider: Some(CompletionOptions {
resolve_provider: if config.client_is_helix() || config.client_is_neovim() {
resolve_provider: if config.client_is_neovim() {
config.completion_item_edit_resolve().then_some(true)
} else {
Some(config.caps().completions_resolve_provider())