aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-17 21:05:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-17 21:05:06 +1200
commit935fc4c3003110cad368e34a1eccfe500133f105 (patch)
tree4b9c4ac7a0f03e827344c8e2317cb2ae50d5ebef /vim/after
parentBreak up long lines in PHP Vim compiler script (diff)
downloaddotfiles-935fc4c3003110cad368e34a1eccfe500133f105.tar.gz
dotfiles-935fc4c3003110cad368e34a1eccfe500133f105.zip
Split long lines with version/patch check pattern
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/ftplugin/sh.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim
index 7ded5134..e7bd21dc 100644
--- a/vim/after/ftplugin/sh.vim
+++ b/vim/after/ftplugin/sh.vim
@@ -24,7 +24,8 @@ let b:undo_ftplugin .= '|unlet b:current_compiler b:sh_check_compiler'
" Resort to g:is_posix for correct syntax on older runtime files
" 8.1.257 updated the runtime files to include a fix for this
if exists('b:is_posix')
- \ && (v:version < 800 || v:version == 800 && !has('patch257'))
+ \ && (v:version < 800
+ \ || v:version == 800 && !has('patch257'))
let is_posix = 1
endif