fix: syntax clear htmlHead to avoid highlighting error

This commit is contained in:
yemai
2019-06-20 11:20:21 +08:00
parent 9463dd0eb5
commit 03dc41e8b5

View File

@@ -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