Change html highlighting to be ref inside of hbs highlighting
This commit is contained in:
parent
9dfd17a5bc
commit
e1833801f8
|
@ -16,6 +16,7 @@ addhl -group / regions -default html hbs \
|
|||
comment {{! }} '' \
|
||||
block-expression {{ }} ''
|
||||
|
||||
addhl -group /hbs/html ref html
|
||||
addhl -group /hbs/comment fill comment
|
||||
addhl -group /hbs/block-expression regex {{((#|/|)(\w|-)+) 1:meta
|
||||
|
||||
|
@ -56,7 +57,6 @@ def -hidden _hbs_indent_on_new_line %{
|
|||
|
||||
hook -group hbs-highlight global WinSetOption filetype=hbs %{
|
||||
addhl ref hbs
|
||||
addhl ref html
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=hbs %{
|
||||
|
@ -66,7 +66,6 @@ hook global WinSetOption filetype=hbs %{
|
|||
|
||||
hook -group hbs-highlight global WinSetOption filetype=(?!hbs).* %{
|
||||
rmhl hbs
|
||||
rmhl html
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=(?!hbs).* %{
|
||||
|
|
Loading…
Reference in New Issue
Block a user