diff options
| author | Gregoire Geis <git@gregoirege.is> | 2020-02-03 22:26:20 +0100 |
|---|---|---|
| committer | Gregoire Geis <git@gregoirege.is> | 2020-02-03 22:26:20 +0100 |
| commit | 7fd661f0853ef3a32bfb8a01617de8e5adb3ca01 (patch) | |
| tree | 3c69d9dffb17fb353ce5e3f5d8f0227898ca1c9d /editors/code | |
| parent | b70ad7e5f3d524204fab88fe2a8c5a6fbef9e88e (diff) | |
| download | rust-7fd661f0853ef3a32bfb8a01617de8e5adb3ca01.tar.gz rust-7fd661f0853ef3a32bfb8a01617de8e5adb3ca01.zip | |
vscode: Only handle enter if the suggest widget is hidden.
Diffstat (limited to 'editors/code')
| -rw-r--r-- | editors/code/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 42112476407..c9404a4ddf0 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -145,7 +145,7 @@ { "command": "rust-analyzer.onEnter", "key": "enter", - "when": "editorTextFocus && editorLangId == rust" + "when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust" } ], "configuration": { |
