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