Vim syntax highlighting for Blade templates (Laravel 4).
Using pathogen pathogen.vim.
cd ~/.vim/bundle git clone git://github.com/techsterx/vim-blade.git | Without vim-blade | With vim-blade |
|---|---|
![]() | ![]() |
First install the synchk plugin by Dr Chip, which requires his cecutil plugin. They are available packaged together for Pathogen.
To run all tests, run the test.sh script.
To test just the currently open and focused test file, run :SynChk. If there is no obvious message run :messages.
When expected output changes (new test, incorrect test output, change in desired behaviour), ensure visually that the highlighting is correct and then, with the test input file open and focused, run :MakeSynChk. This will create or overwrite the expected output file.
- Add blade specific indentation (if, endif, etc)

