]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
after/ftplugin/php.vim: Move syntax settings to vimrc.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index f98c379a4c46e88918934908e69a4d0d563510ce..42479fa64c76bc70bac6e0bbd053439f71181410 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -769,6 +769,10 @@ if has('syntax')
     let g:perl_fold_blocks = 1
     let g:perl_nofold_packages = 1
     let g:perl_include_pod = 1 " syntax coloring for PODs
+    " PHP.
+    let g:php_folding = 3    " fold functions
+    let g:php_short_tags = 0 " no short tags (<? .. ?>), not always usable
+    let g:php_sql_query = 1  " highlight SQL queries in strings
     " Python.
     let g:python_highlight_all = 1
     " Shell.