aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/sh.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/ftplugin/sh.vim')
-rw-r--r--vim/after/ftplugin/sh.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim
index d612eba8..e872844d 100644
--- a/vim/after/ftplugin/sh.vim
+++ b/vim/after/ftplugin/sh.vim
@@ -2,3 +2,8 @@
" doesn't highlight
let g:sh_isk='@,48-57,_,192-255,.,/'
+" Use han(1) as a man(1) wrapper for Bash files if available
+if exists("b:is_bash") && executable('han')
+ setlocal keywordprg=han
+endif
+