othree / html5.vim

HTML5 omnicomplete and syntax
http://www.vim.org/scripts/script.php?script_id=3236
934 stars 76 forks source link

Partial highlighting of data attributes #92

Closed robertjk closed 6 years ago

robertjk commented 6 years ago

The problem

data-* attributes are highlighted only partially by Vim - only data prefix is styled as the other attributes, while the rest of the attribute name is styled like a tag name. For example for attribute data-target: data would be styled like attribute name, while -target like a tag name.

Expected behavior

I expect the whole attribute name (data-target in the example) to be highlighted (styled) as attribute name.

othree commented 6 years ago

Hi

I don't see tihs issue

2018-03-07 6 19 43

Do you update to latest version?

robertjk commented 6 years ago

My mistake. It's actually caused by plugin vim-javascript. As soon as I disable that plugin, the highlighting works fine. For some reason they don't play well in that area.

robertjk commented 6 years ago

I created issue for that on vim-javascript.