diff options
author | Gregoire Geis <[email protected]> | 2020-02-02 14:58:53 +0000 |
---|---|---|
committer | Gregoire Geis <[email protected]> | 2020-02-03 19:18:11 +0000 |
commit | 58c007674b8c746beab371ca13fce951af6cd1f2 (patch) | |
tree | 13667935753f3597a2b0de4c218d9697ce528043 | |
parent | 23ef22dd4880606c4c3dc908d30c2cbeabc37f58 (diff) |
Change default enhanced typing behavior from using type to using keybindings.
-rw-r--r-- | editors/code/package.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 9987a28f5..05f55cb35 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -141,6 +141,11 @@ | |||
141 | "command": "rust-analyzer.run", | 141 | "command": "rust-analyzer.run", |
142 | "key": "ctrl+r", | 142 | "key": "ctrl+r", |
143 | "when": "editorTextFocus && editorLangId == rust" | 143 | "when": "editorTextFocus && editorLangId == rust" |
144 | }, | ||
145 | { | ||
146 | "command": "rust-analyzer.onEnter", | ||
147 | "key": "enter", | ||
148 | "when": "editorTextFocus && editorLangId == rust" | ||
144 | } | 149 | } |
145 | ], | 150 | ], |
146 | "configuration": { | 151 | "configuration": { |
@@ -164,7 +169,7 @@ | |||
164 | }, | 169 | }, |
165 | "rust-analyzer.enableEnhancedTyping": { | 170 | "rust-analyzer.enableEnhancedTyping": { |
166 | "type": "boolean", | 171 | "type": "boolean", |
167 | "default": true, | 172 | "default": false, |
168 | "description": "Enables enhanced typing. NOTE: If using a VIM extension, you should set this to false" | 173 | "description": "Enables enhanced typing. NOTE: If using a VIM extension, you should set this to false" |
169 | }, | 174 | }, |
170 | "rust-analyzer.raLspServerPath": { | 175 | "rust-analyzer.raLspServerPath": { |