mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-11-01 18:12:19 +08:00
Syncing by block start patterns didn't restore states inside the block, so syntax computed before a line was displayed, e.g. by GetVueTag() or indent after jumping in a file, missed regions like a multi-line css rule. This replaces the one-line block fix in the previous commit. Parsing from start takes ~190ms once for jumping to the end of a 6500-line file, and states are cached after that.