Skip to content
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

No forelse support yet #60

Closed
lennymyr opened this issue Sep 23, 2014 · 2 comments
Closed

No forelse support yet #60

lennymyr opened this issue Sep 23, 2014 · 2 comments

Comments

@lennymyr
Copy link

Hi Medalink,

thanks for your Blade Highlighting Plugin.
I've encountered, that highlighting for forelse is missing.

Only small changes need to be made. For the case you are too busy, feel free to paste this fixes for laravel-blade.tmLanguage:
Line 114: <string>\s{1}|^)@\b(if|elseif|foreach|for|forelse|while|extends|unless|each|yield|lang|choice|section|include)\b(?=(|\s*|)()</string>
Line 195: <string>\s{1}|^)@\b(endif|endforeach|endfor|endforelse|endwhile|else|empty|endunless|show|stop|endsection|parent|overwrite)\b</string>

@arvidbjorkstrom
Copy link

@lennymyr Why not create a pull request to make things simple for @Medalink :)

@Medalink
Copy link
Owner

Fixed with #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants