mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-07 21:24:50 +08:00
fix: syntax clear htmlHead to avoid highlighting error
This commit is contained in:
@@ -94,6 +94,15 @@ endif
|
||||
if s:use_less
|
||||
call s:LoadSyntax('@LessSyntax', 'less')
|
||||
endif
|
||||
"}}}
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"
|
||||
" Syntax patch {{{
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Clear htmlHead that may cause highlighting out of bounds
|
||||
syntax clear htmlHead
|
||||
|
||||
" Redefine syn-region to color correctly.
|
||||
if s:use_sass || s:use_less
|
||||
|
||||
Reference in New Issue
Block a user