mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Stop excluding Helix from the general resolve path
This commit is contained in:
parent
d348ffb480
commit
5906bda975
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue