From afdb73b662cf470f3e822620533cb0e599ae8508 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 17 Oct 2008 22:57:23 +0200 Subject: [PATCH] Added Vim ftplugin file for PHP. --- vim/after/ftplugin/php.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vim/after/ftplugin/php.vim 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 -- 2.44.2