diff options
author | Jeremy A. Kolb <[email protected]> | 2018-11-05 22:13:56 +0000 |
---|---|---|
committer | Jeremy A. Kolb <[email protected]> | 2018-11-05 22:13:56 +0000 |
commit | 5a9d471f98d587f36e79a20e59fed47b3c037fab (patch) | |
tree | 167cef399c8e3ecfb69b13d642952379456db6f2 /crates | |
parent | f605f6e70a3a15b77900942933253d16dd3ce1f6 (diff) |
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.
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_lsp_server/src/caps.rs | 2 |
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, |