vim-blade
vim-blade copied to clipboard
Vim syntax highlighting for Blade templates.
## Overview This PR resolves #74 by adding the `@props` directive to the list of default supported directives. The `@props` directive was supplied by Laravel as part of their Blade...
From what I can tell, it seems that the `@props` directive that is used by Laravel to make Blade Components ([here](https://laravel.com/docs/9.x/blade#data-properties-attributes)) isn't supported by default at the moment. Since this...
Adding @default keyword when using @switch conditional. Also @csrf and @method when at form markup.
Now highlight and indent correctly: ``` @setup/@endsetup @task/@endtask @servers ```
Added in the list of key words the @isset and @endisset directives. Adress issue #67
I got vim-blade as part of sheerun/vim-polyglot which I installed via vundle on Linux Mint 18 Sarah 64 bit. The syntax works fine but I have to manually set it...
I'm using ``` key) selected @endif value="yes">Yes ``` and it gets confused when it encounters `>` and the highlighting is screwed up until the closing `` tag. When testing this,...
I realise you probably won't want to merge this without the fix. If I had the first clue how to write the fix I would have submitted that too, but...
@isset, @endisset
I just pulled a fresh installation of Laravel and took a look in the default welcome.blade.php file. Hit `gg V G =` and ended up with the following results. Before:...