Skip to content

Commit 24f6d25

Browse files
committed
Fixed findExtended
1 parent d6d1ef5 commit 24f6d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/completion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class ClassCompletionItemProvider implements CompletionItemProvider, Disp
2828
readonly canComplete = /(id|class|className)\s*=\s*(["'])(?:(?!\2).)*$/si;
2929
readonly findLinkRel = /rel\s*=\s*(["'])((?:(?!\1).)+)\1/si;
3030
readonly findLinkHref = /href\s*=\s*(["'])((?:(?!\1).)+)\1/si;
31-
readonly findExtended = /(?:{{<|{%)\s*(?:extends)?\s*"?([\/\.\\0-9_a-z-A-Z]+)"?\s*(?:%}|}})/i;
31+
readonly findExtended = /(?:{{\s*<|{%\s*extends)\s*"?([\/\.\\0-9_a-z-A-Z]+)"?\s*(?:%}|}})/i;
3232

3333
dispose() {
3434
let e;

0 commit comments

Comments
 (0)