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.
linkedEditing
.
1 parent 6180537 commit 1cf8d88Copy full SHA for 1cf8d88
packages/language-server/src/plugins/html/HTMLPlugin.ts
@@ -333,7 +333,12 @@ export class HTMLPlugin
333
return null;
334
}
335
336
- return { ranges };
+ // Note that `.` is excluded from the word pattern. This is intentional to support property access in Svelte component tags.
337
+ return {
338
+ ranges,
339
+ wordPattern:
340
+ '(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\\'\\"\\,\\<\\>\\/\\s]+)'
341
+ };
342
343
344
getFoldingRanges(document: Document): FoldingRange[] {
0 commit comments