mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
vscode: Only handle enter if the suggest widget is hidden.
This commit is contained in:
parent
b70ad7e5f3
commit
7fd661f085
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@
|
|||
{
|
||||
"command": "rust-analyzer.onEnter",
|
||||
"key": "enter",
|
||||
"when": "editorTextFocus && editorLangId == rust"
|
||||
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
|
|
Loading…
Reference in a new issue