aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler/shellcheck.vim
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/compiler/shellcheck.vim
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/compiler/shellcheck.vim')
-rw-r--r--vim/compiler/shellcheck.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/compiler/shellcheck.vim b/vim/compiler/shellcheck.vim
index c2cf04de..fa5db235 100644
--- a/vim/compiler/shellcheck.vim
+++ b/vim/compiler/shellcheck.vim
@@ -19,7 +19,8 @@ endif
" 7.4.191 is the earliest version with the :S file name modifier, which we
" really should use if we can
-if v:version >= 704 || v:version == 704 && has('patch191')
+if v:version >= 704
+ \ || v:version == 704 && has('patch191')
execute s:set . '\ --\ %:S'
else
execute s:set . '\ --\ %'