Skip to content

Commit 612b346

Browse files
committed
Add syntax sync fromstart for accurate syntax highlight
1 parent a7161ae commit 612b346

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntax/svelte.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,5 +281,6 @@ syntax region typescriptTemplate
281281
syntax match htmlArg '\v<data(-[.a-z0-9]+)+>' containedin=@HTMLSyntax
282282
"}}}
283283

284+
syntax sync fromstart
284285
let b:current_syntax = 'svelte'
285286
" vim: fdm=marker

0 commit comments

Comments
 (0)