From b91f3f9839de42272a9f4dc30f8f4daaade6ce3e Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Thu, 14 Sep 2017 00:54:50 +0100 Subject: [PATCH] html data attribute highlighting improved --- vim/syntax/html_custom.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/syntax/html_custom.vim b/vim/syntax/html_custom.vim index 0c022de..00ccf10 100644 --- a/vim/syntax/html_custom.vim +++ b/vim/syntax/html_custom.vim @@ -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