Skip to content

techsterx/vim-blade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-blade

Vim syntax highlighting for Blade templates (Laravel 4).

Installation

Using pathogen pathogen.vim.

cd ~/.vim/bundle git clone git://github.com/techsterx/vim-blade.git 
Without vim-blade With vim-blade
before after

Development

Testing

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.

Todo

  • Add blade specific indentation (if, endif, etc)

About

Vim syntax highlighting for Blade templates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 72.2%
  • Vim Script 27.8%