vscode: Only handle enter if the suggest widget is hidden.

This commit is contained in:
Gregoire Geis 2020-02-03 22:26:20 +01:00
parent b70ad7e5f3
commit 7fd661f085

View File

@ -145,7 +145,7 @@
{
"command": "rust-analyzer.onEnter",
"key": "enter",
"when": "editorTextFocus && editorLangId == rust"
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust"
}
],
"configuration": {