aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-11-06 11:13:05 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-11-06 11:13:05 +0000
commit88316784d3227da087cf8eb7c79f3b7c34256f03 (patch)
tree167cef399c8e3ecfb69b13d642952379456db6f2 /crates/ra_lsp_server/src
parentf605f6e70a3a15b77900942933253d16dd3ce1f6 (diff)
parent5a9d471f98d587f36e79a20e59fed47b3c037fab (diff)
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 <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r--crates/ra_lsp_server/src/caps.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/caps.rs b/crates/ra_lsp_server/src/caps.rs
index ac6aacfd3..0d02c8073 100644
--- a/crates/ra_lsp_server/src/caps.rs
+++ b/crates/ra_lsp_server/src/caps.rs
@@ -22,7 +22,7 @@ pub fn server_capabilities() -> ServerCapabilities {
22 trigger_characters: None, 22 trigger_characters: None,
23 }), 23 }),
24 signature_help_provider: Some(SignatureHelpOptions { 24 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()]),
26 }), 26 }),
27 definition_provider: Some(true), 27 definition_provider: Some(true),
28 type_definition_provider: None, 28 type_definition_provider: None,