Skip to content

Commit

Permalink
feat: add setting to disable preview icons
Browse files Browse the repository at this point in the history
close #1101
  • Loading branch information
johnsoncodehk committed Mar 24, 2022
1 parent 45b4f7b commit f9ccd68
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions extensions/vscode-vue-language-features/package.json
Expand Up @@ -310,6 +310,11 @@
"default": true,
"description": "Show split editor icon in title area of editor."
},
"volar.icon.preview": {
"type": "boolean",
"default": true,
"description": "Show Vite / Nuxt App preview icon."
},
"volar.codeLens.scriptSetupTools": {
"type": "boolean",
"default": false,
Expand Down Expand Up @@ -603,12 +608,12 @@
},
{
"command": "volar.action.vite",
"when": "editorLangId == vue && volar.foundViteDir",
"when": "editorLangId == vue && config.volar.icon.preview && volar.foundViteDir",
"group": "navigation"
},
{
"command": "volar.action.nuxt",
"when": "editorLangId == vue && volar.foundNuxtDir",
"when": "editorLangId == vue && config.volar.icon.preview && volar.foundNuxtDir",
"group": "navigation"
},
{
Expand Down

0 comments on commit f9ccd68

Please sign in to comment.