mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
vscode: Only handle enter if the suggest widget is hidden.
This commit is contained in:
parent
b70ad7e5f3
commit
7fd661f085
@ -145,7 +145,7 @@
|
||||
{
|
||||
"command": "rust-analyzer.onEnter",
|
||||
"key": "enter",
|
||||
"when": "editorTextFocus && editorLangId == rust"
|
||||
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
|
Loading…
Reference in New Issue
Block a user