diff --git a/package.json b/package.json index 1109e76..d7b13ff 100644 --- a/package.json +++ b/package.json @@ -78,13 +78,13 @@ "command": "markdown-checkbox.createCheckbox", "key": "ctrl+shift+c", "mac": "cmd+shift+c", - "when": "editorTextFocus" + "when": "editorTextFocus && resourceLangId == markdown" }, { "command": "markdown-checkbox.markCheckbox", "key": "ctrl+shift+enter", "mac": "cmd+shift+enter", - "when": "editorTextFocus" + "when": "editorTextFocus && resourceLangId == markdown" } ], "menus": {