Sfoglia il codice sorgente

Set default folding options

wreed4 9 anni fa
parent
commit
8f98d7fea9
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      vimrc

+ 8 - 0
vimrc

@@ -444,8 +444,16 @@ set breakindentopt=min:20
 let g:html_ignore_conceal=1
 let g:html_dynamic_folds=1
 
+" folding options
+set foldlevelstart=99
+set foldmethod=syntax
+augroup folding_settings
+  autocmd FileType python set foldmethod=indent
+augroup END
+
 " }}}
 
+
 "{{{ ***** VISUALS ***** "
 set number
 set norelativenumber