mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 05:08:52 +00:00
Merge #199
199: Use closing paren as a trigger character r=matklad a=kjeremy This seems counter-intuitive based on the concept of "trigger character" but it provides a better function signature experience. Co-authored-by: Jeremy A. Kolb <jkolb@ara.com>
This commit is contained in:
commit
88316784d3
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ pub fn server_capabilities() -> ServerCapabilities {
|
|||
trigger_characters: None,
|
||||
}),
|
||||
signature_help_provider: Some(SignatureHelpOptions {
|
||||
trigger_characters: Some(vec!["(".to_string(), ",".to_string()]),
|
||||
trigger_characters: Some(vec!["(".to_string(), ",".to_string(), ")".to_string()]),
|
||||
}),
|
||||
definition_provider: Some(true),
|
||||
type_definition_provider: None,
|
||||
|
|
Loading…
Reference in a new issue