mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
vscode: Only handle enter if the suggest widget is hidden.
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
{
|
||||
"command": "rust-analyzer.onEnter",
|
||||
"key": "enter",
|
||||
"when": "editorTextFocus && editorLangId == rust"
|
||||
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
|
||||
Reference in New Issue
Block a user