aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/zsh.vim
blob: c361c85919c66d17ce637e95416445368376d54d (plain) (blame)
1
2
3
4
5
6
7
8
" Use Z shell itself as a syntax checker
compiler zsh
let b:undo_ftplugin .= '|unlet b:current_compiler'
      \ . '|setlocal errorformat< makeprg<'

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