diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-02-08 11:18:35 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-02-08 11:18:35 +0100 |
commit | 8a76ed7ff638d71c6be600272bff562b08927d1c (patch) | |
tree | b669344ba0ec9ece2d2f4c56fea45ffe9a921e70 | |
parent | 8b83f38f76dced886d985633c8f254ffdf5c82c0 (diff) | |
download | dotfiles-8a76ed7ff638d71c6be600272bff562b08927d1c.tar.gz dotfiles-8a76ed7ff638d71c6be600272bff562b08927d1c.tar.xz |
vimrc: enable syntax folding
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | .vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -25,7 +25,7 @@ set nowrapscan " stop searching at EOF set laststatus=2 set mouse=a set nopaste -set foldmethod=marker +set foldmethod=syntax "set smartindent set scrolloff=3 set showcmd @@ -229,6 +229,8 @@ autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags 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 make setlocal noexpandtab au FileType python set ts=4 sw=4 softtabstop=4 et |