aboutsummaryrefslogblamecommitdiff
path: root/vim/ftplugin/sed.vim
blob: 35e705a413d26a6ef56680c15cc0386fb064695a (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                
                      




                                                         
 
                                                           
                          

                                                         
" Only do this when not yet done for this buffer
if exists('b:did_ftplugin')
  finish
endif
let b:did_ftplugin = 1

" Set comment formats
setlocal comments=:#
setlocal formatoptions+=or
let b:undo_ftplugin = 'setlocal comments< formatoptions<'

" Fold based on indent level, but start with all folds open
setlocal foldmethod=indent
setlocal foldlevel=99
let b:undo_ftplugin .= '|setlocal foldmethod< foldlevel<'