html data attribute highlighting improved
This commit is contained in:
parent
9bbd52c6a3
commit
b91f3f9839
|
@ -59,7 +59,7 @@ syn region htmlAltValue contained start=+"+hs=s+1 end=+"+he=s-1 contains=cssAttr
|
|||
syn match htmlAltArg "alt" contained
|
||||
|
||||
" data-*
|
||||
syn region htmlArgRegion contained start=+data.*="+hs=s+5 end=+"+he=e-1 contains=htmlDataArg,htmlDataValue,cssAttrNoise keepend
|
||||
syn region htmlArgRegion contained start=+data.*="+hs=s+5 end=+"+ contains=htmlDataArg,htmlDataValue,cssAttrNoise keepend
|
||||
"syn region htmlArgRegion contained start=+alt='+hs=s+5 end=+'+he=e-1 contains=htmlSpecialChar,htmlAltArg,htmlAltValue,cssAttrNoise keepend
|
||||
syn region htmlDataValue contained start=+"+hs=s+1 end=+"+me=e-1 contains=cssAttrNoise keepend
|
||||
syn match htmlDataArg +data.*="+me=e-2 contained
|
||||
|
|
Loading…
Reference in New Issue