mirror of
https://github.com/denoland/deno
synced 2024-09-13 13:21:50 +00:00
fix: unexpected lsp function arg comma completion (#20311)
This commit is contained in:
parent
ebfead1021
commit
539e5032d3
|
@ -53,9 +53,10 @@ pub fn server_capabilities(
|
|||
)),
|
||||
hover_provider: Some(HoverProviderCapability::Simple(true)),
|
||||
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![
|
||||
".".to_string(),
|
||||
",".to_string(),
|
||||
";".to_string(),
|
||||
"(".to_string(),
|
||||
]),
|
||||
|
|
Loading…
Reference in a new issue