jwalton512 / vim-blade

Vim syntax highlighting for Blade templates.
225 stars 37 forks source link

Accessing an object's property inside of an html tag causes highlighting to get confused #68

Open endoped opened 6 years ago

endoped commented 6 years ago

I'm using

<option @if($prod->key) selected @endif value="yes">Yes</option>

and it gets confused when it encounters > and the highlighting is screwed up until the closing </option> tag.

When testing this, I realized that it has trouble with the data keyword as well...but that just might be from a conflict with html5.vim. Come to think of it, maybe it all has to do with the fact that I'm using othree/html5.vim? Does this affect anyone else?

screen shot 2018-03-22 at 11 48 53 am

jwalton512 commented 6 years ago

I appear to get the same result. Will research. Thank you!