jawee / language-blade

Blade (Laravel) templating support in Atom
https://atom.io/packages/language-blade
Other
51 stars 21 forks source link

does not highlight the opening @foreach and corresponding closing @endforeach #62

Open glibgator opened 7 years ago

glibgator commented 7 years ago

UI Theme - One Dark, Syntax Theme - Base16 Tomorrow Dark.

Ingramz commented 7 years ago

@Sangramchahal I could not reproduce this.

Please provide additional information such as the snippet of code you are using, a screenshot of what you are seeing and the Atom version you are using.

glibgator commented 7 years ago

Atom v1.12.6, language-blade v 0.26.2, Win10. bladenon highlighting error required highlighting

Ingramz commented 7 years ago

@Sangramchahal I see what you mean now. The functionality you are looking for comes from atom/bracket-matcher package. Other than bracket characters, it also supports HTML and XML tag matching, but nothing else.

For example in PHP following the corresponding snippet would not work either:

foreach ($variable as $key => $value):
  $something = 10;
endforeach;

I'll leave this open for time being, but there is nothing I can do at the moment to solve this.