Skip to content

Commit 7fd661f

Browse files
committed
vscode: Only handle enter if the suggest widget is hidden.
1 parent b70ad7e commit 7fd661f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
{
146146
"command": "rust-analyzer.onEnter",
147147
"key": "enter",
148-
"when": "editorTextFocus && editorLangId == rust"
148+
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust"
149149
}
150150
],
151151
"configuration": {

0 commit comments

Comments
 (0)