From cf87e635e63d5f140a92f7eca2535c7f40501e0c Mon Sep 17 00:00:00 2001 From: cweijan Date: Fri, 8 Mar 2024 10:37:34 +0800 Subject: [PATCH] Don't show switch icon on vditor. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f962565..c8a27c7 100755 --- a/package.json +++ b/package.json @@ -254,7 +254,7 @@ "editor/title": [ { "command": "office.markdown.switch", - "when": "resourceExtname == '.md'", + "when": "editorLangId == 'markdown'", "group": "navigation@-2" }, {