From 14c26f56d0f9e84d27b2d6877c05c6d76c37d7a3 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Sat, 16 Jan 2016 21:18:07 +0800 Subject: [PATCH] vim - set list for python file type --- vim/vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.11.0