summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-02-08 23:00:49 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-02-08 23:00:49 +0100
commit61b26a03b34d4c55e710fa2fa6011f7eab256140 (patch)
tree0ea3d61740168a69d30ddfde89b504c4001355bc
parent3095344cac61b5e3520c9c7f3e31a857d80f28fd (diff)
downloaddotfiles-61b26a03b34d4c55e710fa2fa6011f7eab256140.tar.gz
dotfiles-61b26a03b34d4c55e710fa2fa6011f7eab256140.tar.xz
fix autocmd for php folding
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--.vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 448269f..50c685e 100644
--- a/.vimrc
+++ b/.vimrc
@@ -231,7 +231,8 @@ autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete
autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set foldlevelstart=2 foldnestmax=2
-autocmd FileType php g:php_folding=2 g:php_htmlInStrings=1
+autocmd FileType php let g:php_folding=2
+autocmd FileType php let g:php_htmlInStrings=1
autocmd FileType make setlocal noexpandtab
au FileType python set ts=4 sw=4 softtabstop=4 et