Skip to content

Commit 6cba567

Browse files
Merge pull request #102 from CaptainUnbrauchbar/fix-pr-89
fix: 🐛 keybinds only active when relevant
2 parents d477d9c + 41f7669 commit 6cba567

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "answer-set-programming-language-support",
33
"displayName": "Clingo for VSCode",
4-
"version": "1.0.6",
4+
"version": "1.0.7",
55
"description": "Language Support for Clingo ASP (developed at University of Potsdam).",
66
"publisher": "ffrankreiter",
77
"jest": {
@@ -162,19 +162,19 @@
162162
"command": "answer-set-programming-language-support.runinterminalall",
163163
"key": "ctrl+shift+a",
164164
"mac": "cmd+shift+a",
165-
"when": "editorTextFocus"
165+
"when": "editorTextFocus && editorLangId == 'asp'"
166166
},
167167
{
168168
"command": "answer-set-programming-language-support.runinterminalsingle",
169-
"key": "ctrl+shift+s",
170-
"mac": "cmd+shift+s",
171-
"when": "editorTextFocus"
169+
"key": "ctrl+shift+x",
170+
"mac": "cmd+shift+x",
171+
"when": "editorTextFocus && editorLangId == 'asp'"
172172
},
173173
{
174174
"command": "answer-set-programming-language-support.runinterminalconfig",
175175
"key": "ctrl+shift+c",
176176
"mac": "cmd+shift+c",
177-
"when": "editorTextFocus"
177+
"when": "editorTextFocus && editorLangId == 'asp'"
178178
}
179179
]
180180
},

0 commit comments

Comments
 (0)