mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
fix: unexpected lsp function arg comma completion (#20311)
This commit is contained in:
parent
ebfead1021
commit
539e5032d3
1 changed files with 2 additions and 1 deletions
|
@ -53,9 +53,10 @@ pub fn server_capabilities(
|
||||||
)),
|
)),
|
||||||
hover_provider: Some(HoverProviderCapability::Simple(true)),
|
hover_provider: Some(HoverProviderCapability::Simple(true)),
|
||||||
completion_provider: Some(CompletionOptions {
|
completion_provider: Some(CompletionOptions {
|
||||||
|
// Don't include "," here as it leads to confusing completion
|
||||||
|
// behavior with function arguments. See https://github.com/denoland/deno/issues/20160
|
||||||
all_commit_characters: Some(vec![
|
all_commit_characters: Some(vec![
|
||||||
".".to_string(),
|
".".to_string(),
|
||||||
",".to_string(),
|
|
||||||
";".to_string(),
|
";".to_string(),
|
||||||
"(".to_string(),
|
"(".to_string(),
|
||||||
]),
|
]),
|
||||||
|
|
Loading…
Reference in a new issue