From: Simon Ruderich Date: Mon, 3 Nov 2008 17:32:36 +0000 (+0100) Subject: Use buffer variables in PHP ftplugin. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=75655297669075a6a45a05df38222c556c664aef;p=config%2Fdotfiles.git Use buffer variables in PHP ftplugin. This prevents cluttering other buffers with variables. Bug introduced in afdb73b662cf470f3e822620533cb0e599ae8508. --- diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim index 4456b09..342ca15 100644 --- a/vim/after/ftplugin/php.vim +++ b/vim/after/ftplugin/php.vim @@ -5,11 +5,11 @@ " Don't allow short PHP tags () as they are not always available. -let php_short_tags=0 +let b:php_short_tags=0 " Highlight SQL queries in strings. -let php_sql_query=1 +let b:php_sql_query=1 " Fold PHP functions. -let php_folding=3 +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.