From: Simon Ruderich Date: Fri, 17 Oct 2008 20:57:23 +0000 (+0200) Subject: Added Vim ftplugin file for PHP. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;ds=sidebyside;h=afdb73b662cf470f3e822620533cb0e599ae8508;p=config%2Fdotfiles.git Added Vim ftplugin file for PHP. --- diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim new file mode 100644 index 0000000..4456b09 --- /dev/null +++ b/vim/after/ftplugin/php.vim @@ -0,0 +1,16 @@ +" Vim filetype plugin file +" Language: PHP +" Maintainer: Simon Ruderich +" Last Change: 2008-10-17 + + +" Don't allow short PHP tags () as they are not always available. +let php_short_tags=0 +" Highlight SQL queries in strings. +let php_sql_query=1 +" Fold PHP functions. +let php_folding=3 + +" Automatically fix my wrong usage of kdb tags in phpdoc comments which don't +" exist and should be kbd tags. I make this typo all the time. +abbreviate kdb kbd