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:
bors[bot] 2018-11-06 11:13:05 +00:00
commit 88316784d3

View file

@ -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,