-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eruby html syntax highlighting #363
Comments
Oddly enough, for me it's the other way around, sort of. With the plugin you link to, the "data-user" renders correctly, both in erb and html, as One thing to check is your :set iskeyword
:syn iskeyword You could also try installing this plugin: https://github.com/vim-scripts/SyntaxAttr.vim. With it, calling Even with that, I'm not sure if we'll be able to fix the issue, but it's a start to at least maybe figure out what might be wrong. |
fixed it by adding |
Hm, that's interesting. I wonder if that doesn't override eruby syntax somehow. Well, either way, does that mean this issue can be closed? |
First things first, one problem is that https://github.com/othree/html5.vim adds hyphen to But I'm not even sure that's the actual problem. While I can reproduce your ERB example, I can't reproduce your success with the plain HTML filetype. I can also produce a match with |
I use https://github.com/othree/html5.vim for html.
.erb highlighting is strange
The text was updated successfully, but these errors were encountered: