aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/sh.vim
blob: c9e0297ca092ea50af6a300a5b3117437b22fc6e (plain) (blame)
1
2
3
4
5
6
7
8
9
" If the file is not already tagged as either ksh nor bash, assume POSIX shell
if !exists('g:is_kornshell') && !exists('g:is_bash')
  let g:is_posix = 1
endif

" Use han(1df) as a man(1) wrapper for Bash files if available
if exists('b:is_bash') && executable('han')
  setlocal keywordprg=han
endif