aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-23 20:06:50 +0100
committerGitHub <[email protected]>2020-04-23 20:06:50 +0100
commitd283f87f6d48239f73cb5a436efb62bef79dbc54 (patch)
tree7a1e5d420aa46c58d2a5ddfb750887613d1dfa1a
parent29bc218fba2e52711b038562ff23bbb76a002380 (diff)
parent919015ce8a0277e4bfdfbe80a2029c6c1471d424 (diff)
Merge #4107
4107: Disable onEnter command by default r=matklad a=matklad We are transitioning from experimental to production-ready stance, so it makes sense to disable potentially disruptive features by default. bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r--editors/code/package.json5
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": {