aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/code/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index dff535fcd..925e8bbe7 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -162,7 +162,7 @@
162 { 162 {
163 "command": "rust-analyzer.onEnter", 163 "command": "rust-analyzer.onEnter",
164 "key": "enter", 164 "key": "enter",
165 "when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust" 165 "when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust && !vim.active || vim.mode == 'Insert' && editorTextFocus && !suggestWidgetVisible && editorLangId == rust"
166 } 166 }
167 ], 167 ],
168 "configuration": { 168 "configuration": {