]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - vim/after/ftplugin/php.vim
82801b1a048e266ff19496bc7d33218f32bb744d
[config/dotfiles.git] / vim / after / ftplugin / php.vim
1 " Vim filetype plugin file
2 "
3 " Language:     PHP
4 " Maintainer:   Simon Ruderich <simon@ruderich.org>
5
6
7 " Don't allow short PHP tags (<? .. ?>) as they are not always available.
8 let b:php_short_tags = 0
9 " Highlight SQL queries in strings.
10 let b:php_sql_query = 1
11 " Fold PHP functions.
12 let b:php_folding = 3
13
14 " Automatically fix my wrong usage of kdb tags in phpdoc comments which don't
15 " exist and should be kbd tags. I make this typo all the time.
16 abbreviate <buffer> kdb kbd