aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-08 12:49:35 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-08 12:49:49 +1300
commit129d77372dc3ea6c4a981a97620c10ca0ad90d29 (patch)
tree66b2d7d7e4a60d809b8d5b449ea46d7302fd2f77 /vim
parentRename b:check and b:lint with sh_ prefix (diff)
downloaddotfiles-129d77372dc3ea6c4a981a97620c10ca0ad90d29.tar.gz
dotfiles-129d77372dc3ea6c4a981a97620c10ca0ad90d29.zip
Break a long conditional in vim/ftdetect/sh.vim
Just for legibility.
Diffstat (limited to 'vim')
-rw-r--r--vim/ftplugin/sh.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim
index 35bfefc9..179ea56e 100644
--- a/vim/ftplugin/sh.vim
+++ b/vim/ftplugin/sh.vim
@@ -16,7 +16,8 @@ if exists('b:is_sh')
endif
" Use han(1df) as a man(1) wrapper for Bash files if available
-if exists('b:is_bash') && executable('han')
+if exists('b:is_bash')
+ \ && executable('han')
setlocal keywordprg=han
endif