Skip to content

Commit 5a9d471

Browse files
committed
Use closing paren as a trigger character
This seems counter-intuitive based on the concept of "trigger character" but it provides a better function signature experience.
1 parent f605f6e commit 5a9d471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_lsp_server/src/caps.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn server_capabilities() -> ServerCapabilities {
2222
trigger_characters: None,
2323
}),
2424
signature_help_provider: Some(SignatureHelpOptions {
25-
trigger_characters: Some(vec!["(".to_string(), ",".to_string()]),
25+
trigger_characters: Some(vec!["(".to_string(), ",".to_string(), ")".to_string()]),
2626
}),
2727
definition_provider: Some(true),
2828
type_definition_provider: None,

0 commit comments

Comments
 (0)