cjhowedev / laravel-blade-vscode

Syntax highlighting and snippets for Laravel’s Blade
2 stars 2 forks source link

Incorrect snippet closing tag #2

Closed alfiehopkin closed 6 years ago

alfiehopkin commented 6 years ago

@cjhowe7 the snippet for foreach does not have the correct closing endforeach and instead endfor.

Example:

@foreach($posts as $post)
    {{ $post->title }}
@endfor

but should read as

@foreach($posts as $post)
    {{ $post->title }}
@endforeach
cjhowedev commented 6 years ago

Hey, you're right! Feel free to make a pull request if you have fixed this.