From: Peng Li Date: Sat, 16 Jan 2016 13:18:07 +0000 (+0800) Subject: vim - set list for python file type X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=14c26f56d0f9e84d27b2d6877c05c6d76c37d7a3;hp=d637c5935ed0e90d26046e9f7d9e0e39ab4f6238;p=dotfiles.git vim - set list for python file type --- diff --git a/vim/vimrc b/vim/vimrc index 7b37d20..070046c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -513,7 +513,8 @@ autocmd FileType c,cpp setlocal foldmethod=syntax | \ let b:AutoClosePairs = AutoClose#DefaultPairsModified("\"", "{}") | \ inoremap { {}kA| \ nnoremap :let word=expand(""):wincmd o:vsp:exec("tag ". word)zzzr:wincmd w -autocmd FileType python setlocal foldmethod=indent +autocmd FileType python setlocal foldmethod=indent | + \ set list autocmd FileType xml setlocal foldmethod=syntax | \ let g:xml_syntax_folding=1