Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 741 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 741 Bytes

vim-laravel4-snippets

This is the snippets file for Laravel 4. You can use

:set ft=php.laravel

to enable it in current buffer, or just add the following line to .vimrc

autocmd FileType php set ft=php.laravel

to enable it for every php files.

Or, You also can set the filetype based on directory, like

autocmd BufNewFile,BufRead ~/proj/src/php/laravel/*.php setlocal filetype=php.laravel

BTW, you will need SnipMate or UltiSnips for using this snippets.

Most important is, this snippets based on laravel 4 for sublime text from @bliker

Mark