Extract 'fold' config
This commit is contained in:
24
.vim/plugin/fold.vim
Normal file
24
.vim/plugin/fold.vim
Normal file
@@ -0,0 +1,24 @@
|
||||
" Folds {{{
|
||||
set foldmethod=marker
|
||||
|
||||
augroup filetype_vim
|
||||
autocmd!
|
||||
autocmd FileType vim setlocal foldmethod=marker
|
||||
augroup END
|
||||
|
||||
augroup filetype_python
|
||||
autocmd!
|
||||
autocmd FileType python setlocal foldmethod=indent
|
||||
augroup END
|
||||
|
||||
augroup filetype_sh
|
||||
autocmd!
|
||||
autocmd FileType sh setlocal foldmethod=marker
|
||||
augroup END
|
||||
|
||||
augroup filetype_snippets
|
||||
autocmd!
|
||||
autocmd FileType snippets setlocal foldmethod=marker
|
||||
augroup END
|
||||
|
||||
" }}}
|
||||
Reference in New Issue
Block a user