diff options
author | Aleksey Kladov <[email protected]> | 2020-04-23 19:46:44 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-23 20:01:17 +0100 |
commit | 919015ce8a0277e4bfdfbe80a2029c6c1471d424 (patch) | |
tree | 7a1e5d420aa46c58d2a5ddfb750887613d1dfa1a /editors | |
parent | 29bc218fba2e52711b038562ff23bbb76a002380 (diff) |
Disable onEnter command by default
We are transitioning from experimental to production-ready stance, so
it makes sense to disable potentially disruptive features by default.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index ab0f25b2f..b8aaa07d8 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -166,11 +166,6 @@ | |||
166 | "command": "rust-analyzer.joinLines", | 166 | "command": "rust-analyzer.joinLines", |
167 | "key": "ctrl+shift+j", | 167 | "key": "ctrl+shift+j", |
168 | "when": "editorTextFocus && editorLangId == rust" | 168 | "when": "editorTextFocus && editorLangId == rust" |
169 | }, | ||
170 | { | ||
171 | "command": "rust-analyzer.onEnter", | ||
172 | "key": "enter", | ||
173 | "when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust && !vim.active || vim.mode == 'Insert' && editorTextFocus && !suggestWidgetVisible && editorLangId == rust" | ||
174 | } | 169 | } |
175 | ], | 170 | ], |
176 | "configuration": { | 171 | "configuration": { |