mirror of
https://github.com/posva/vim-vue.git
synced 2025-12-15 13:37:06 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user