aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/render/function.rs
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-12-07 22:46:56 +0000
committerKirill Bulatov <[email protected]>2020-12-07 23:07:20 +0000
commit3183ff3a7b1fbcf3cb5379cf162a3d769a21be7a (patch)
tree5aa366155109b6f564f0f0a021fe2e43c0ac1bc9 /crates/completion/src/render/function.rs
parent9656ceb8963273047dab4ee9f3d0b19976890599 (diff)
Disable the completion for no corresponding client resolve capabilities
Diffstat (limited to 'crates/completion/src/render/function.rs')
-rw-r--r--crates/completion/src/render/function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/completion/src/render/function.rs b/crates/completion/src/render/function.rs
index dd2c999ef..d16005249 100644
--- a/crates/completion/src/render/function.rs
+++ b/crates/completion/src/render/function.rs
@@ -47,7 +47,7 @@ impl<'a> FunctionRender<'a> {
47 .set_deprecated(self.ctx.is_deprecated(self.func)) 47 .set_deprecated(self.ctx.is_deprecated(self.func))
48 .detail(self.detail()) 48 .detail(self.detail())
49 .add_call_parens(self.ctx.completion, self.name, params) 49 .add_call_parens(self.ctx.completion, self.name, params)
50 .add_import(import_to_add, self.ctx.completion.config.resolve_additional_edits_lazily()) 50 .add_import(import_to_add)
51 .build() 51 .build()
52 } 52 }
53 53