set "syntax sync fromstart" by default

Instead of setting it by default, I initially only added this as a tip
to the readme, because it is said to be slower. However, I don't really
notice a performance difference, and when the highlighting isn't working
reliably without it, I think it's better to just include it by default.
This commit is contained in:
Adriaan Zonnenberg
2019-08-03 21:01:05 +02:00
parent fcdc2d25d1
commit c424294e76
2 changed files with 2 additions and 16 deletions

View File

@@ -73,4 +73,6 @@ syn keyword htmlSpecialTagName contained template
syn keyword htmlArg contained scoped ts
syn match htmlArg "[@v:][-:.0-9_a-z]*\>" contained
syntax sync fromstart
let b:current_syntax = "vue"