From: Simon Ruderich Date: Tue, 20 Nov 2012 20:50:07 +0000 (+0100) Subject: after/ftplugin/php.vim: Move syntax settings to vimrc. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=eabf70b33b4b4f4b7e2e077e2ffa070ab914531b;p=config%2Fdotfiles.git after/ftplugin/php.vim: Move syntax settings to vimrc. --- diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim index 57bc1e5..1c37b1e 100644 --- a/vim/after/ftplugin/php.vim +++ b/vim/after/ftplugin/php.vim @@ -20,13 +20,6 @@ " along with this file. If not, see . -" Don't allow short PHP tags () as they are not always available. -let b:php_short_tags = 0 -" Highlight SQL queries in strings. -let b:php_sql_query = 1 -" Fold PHP functions. -let b: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 diff --git a/vimrc b/vimrc index f98c379..42479fa 100644 --- 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.