Skip to content

Commit

Permalink
fix: disable links feature for tsconfig for now
Browse files Browse the repository at this point in the history
close #2648, open #2467
  • Loading branch information
johnsoncodehk committed Apr 21, 2023
1 parent 6d0158b commit 061de99
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/vscode-vue/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,10 @@ export function getDocumentSelector(context: vscode.ExtensionContext, serverMode
if (serverMode === ServerMode.Semantic || serverMode === ServerMode.PartialSemantic) { // #2573
// support find references for .json files
selectors.push({ language: 'json' });
// support document links for tsconfig.json
selectors.push({ language: 'jsonc', pattern: '**/[jt]sconfig.json' });
selectors.push({ language: 'jsonc', pattern: '**/[jt]sconfig.*.json' });
// comment out to avoid #2648 for now
// // support document links for tsconfig.json
// selectors.push({ language: 'jsonc', pattern: '**/[jt]sconfig.json' });
// selectors.push({ language: 'jsonc', pattern: '**/[jt]sconfig.*.json' });
}
}
if (config.vueserver.petiteVue.processHtmlFile) {
Expand Down

0 comments on commit 061de99

Please sign in to comment.