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 671932d commit 6757cd8Copy full SHA for 6757cd8
syntax/svelte.vim
@@ -139,8 +139,9 @@ syntax region htmlSvelteTemplate fold
139
" Start tag across multiple lines or Empty tag across multiple lines
140
syntax region htmlSvelteTemplate fold
141
\ start=+<[-:a-zA-Z0-9]\+[^>]*$+
142
- \ end=+^\(<\/[-:a-zA-Z0-9]\+>\)\|^\([^<]*\/>\)+
+ \ end=+^\(<\/[-:a-zA-Z0-9]\+>\|\(\S[^<]*\)\?\/>\)+
143
\ keepend contains=@HTMLSyntax
144
+
145
" Tag in one line
146
syntax match htmlSvelteTemplate fold
147
\ +<[-:a-zA-Z0-9]\+[^>]*>.*</[-:a-zA-Z0-9]\+>+
0 commit comments