jwalton512/vim-blade

Various issues with example blade files

tremby opened this issue · 0 comments

I'm on a 256-colour terminal, using the default colour scheme with bg=dark.

The example files are highlighting for me like this:

screenshot

example.blade.php

  • About half way down starting at the @if statement things are highlighting in green for me rather than yellow. If I remove the immediately preceding {{ }} section, it's yellow. So I guess something with the {{ }} is screwing it up. It also highlights as yellow if I make the {{ }} section all one line.
  • The > and < symbols in PHP sections are highlighting as errors.
  • Potentially related to < not rendering properly: on the line @for ($i = 0; $i < 10; $i++) the highlighting is getting messed up starting at the <.

example2.blade.php

  • In <a href="{{ $subscriber->email }} "> the contents of the {{ }} are not being highlighted as PHP. The same issue is shown again on the <form line.

example3.blade.php seems fine.