Skip to content

Commit d4b8a43

Browse files
committed
change condition from resource to editor
1 parent c70d292 commit d4b8a43

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "confluence-markup",
33
"displayName": "Confluence markup",
4-
"version": "0.1.4",
4+
"version": "0.1.5",
55
"publisher": "denco",
66
"description": "Confluence markup language support for Visual Studio Code",
77
"keywords": [
@@ -74,13 +74,13 @@
7474
"command": "confluence.showPreview",
7575
"key": "ctrl+shift+v",
7676
"mac": "cmd+shift+v",
77-
"when": "resourceLangId == confluence"
77+
"when": "editorLangId == confluence"
7878
},
7979
{
8080
"command": "confluence.showPreviewToSide",
8181
"key": "ctrl+k v",
8282
"mac": "cmd+k v",
83-
"when": "resourceLangId == confluence"
83+
"when": "editorLangId == confluence"
8484
}
8585
],
8686
"commands": [
@@ -99,11 +99,11 @@
9999
"editor/title": [
100100
{
101101
"command": "confluence.showPreview",
102-
"when": "resourceLangId == confluence"
102+
"when": "editorLangId == confluence"
103103
},
104104
{
105105
"command": "confluence.showPreviewToSide",
106-
"when": "resourceLangId == confluence"
106+
"when": "editorLangId == confluence"
107107
}
108108
]
109109
}

0 commit comments

Comments
 (0)