diff options
author | Florian Diebold <[email protected]> | 2018-12-25 14:20:37 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2018-12-25 14:27:15 +0000 |
commit | e5a8089b08478c59e20e219b53345dde5301d517 (patch) | |
tree | e65bffc886b1e58c2896a3d5e9146d5b8d0098df | |
parent | ab0b63992be0cec4999810096a53b40f63f90349 (diff) |
Add . to trigger characters
-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 560f64989..5f7038f63 100644 --- a/crates/ra_lsp_server/src/caps.rs +++ b/crates/ra_lsp_server/src/caps.rs | |||
@@ -19,7 +19,7 @@ pub fn server_capabilities() -> ServerCapabilities { | |||
19 | hover_provider: Some(true), | 19 | hover_provider: Some(true), |
20 | completion_provider: Some(CompletionOptions { | 20 | completion_provider: Some(CompletionOptions { |
21 | resolve_provider: None, | 21 | resolve_provider: None, |
22 | trigger_characters: Some(vec![":".to_string()]), | 22 | trigger_characters: Some(vec![":".to_string(), ".".to_string()]), |
23 | }), | 23 | }), |
24 | signature_help_provider: Some(SignatureHelpOptions { | 24 | signature_help_provider: Some(SignatureHelpOptions { |
25 | trigger_characters: Some(vec!["(".to_string(), ",".to_string(), ")".to_string()]), | 25 | trigger_characters: Some(vec!["(".to_string(), ",".to_string(), ")".to_string()]), |