We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b3485c commit 98cfcbcCopy full SHA for 98cfcbc
packages/language-service/lib/plugins/vue-document-highlights.ts
@@ -38,7 +38,7 @@ export function create(
38
end: document.positionAt(textSpan.start + textSpan.length),
39
});
40
const tagNameMatch = highlightText.match(/<\/?([^\s>]+)/);
41
- if (!tagNameMatch) return false;
+ if (!tagNameMatch) {return false;}
42
const tagName = tagNameMatch[1];
43
return highlightText.startsWith(`</${tagName}>`) ||
44
highlightText.startsWith(`<${tagName}/>`);
0 commit comments