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