aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/zsh.vim
blob: 880c2c393ff4082820287944f9636764f72f0a5c (plain)
1
2
3
4
5
6
7
8
9
" 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
setlocal foldlevel=99
let b:undo_ftplugin .= '|setlocal foldmethod< foldlevel<'