aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorGregoire Geis <[email protected]>2020-02-03 21:26:20 +0000
committerGregoire Geis <[email protected]>2020-02-03 21:26:20 +0000
commit7fd661f0853ef3a32bfb8a01617de8e5adb3ca01 (patch)
tree3c69d9dffb17fb353ce5e3f5d8f0227898ca1c9d /editors
parentb70ad7e5f3d524204fab88fe2a8c5a6fbef9e88e (diff)
vscode: Only handle enter if the suggest widget is hidden.
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 421124764..c9404a4dd 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -145,7 +145,7 @@
145 { 145 {
146 "command": "rust-analyzer.onEnter", 146 "command": "rust-analyzer.onEnter",
147 "key": "enter", 147 "key": "enter",
148 "when": "editorTextFocus && editorLangId == rust" 148 "when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust"
149 } 149 }
150 ], 150 ],
151 "configuration": { 151 "configuration": {