Browse Source

Set default folding options

wreed4 9 năm trước cách đây
mục cha
commit
8f98d7fea9
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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