diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-17 21:05:06 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-17 21:05:06 +1200 |
commit | 935fc4c3003110cad368e34a1eccfe500133f105 (patch) | |
tree | 4b9c4ac7a0f03e827344c8e2317cb2ae50d5ebef /vim/compiler | |
parent | Break up long lines in PHP Vim compiler script (diff) | |
download | dotfiles-935fc4c3003110cad368e34a1eccfe500133f105.tar.gz dotfiles-935fc4c3003110cad368e34a1eccfe500133f105.zip |
Split long lines with version/patch check pattern
Diffstat (limited to 'vim/compiler')
-rw-r--r-- | vim/compiler/bash.vim | 3 | ||||
-rw-r--r-- | vim/compiler/ksh.vim | 3 | ||||
-rw-r--r-- | vim/compiler/perlcritic.vim | 3 | ||||
-rw-r--r-- | vim/compiler/php.vim | 3 | ||||
-rw-r--r-- | vim/compiler/sh.vim | 3 | ||||
-rw-r--r-- | vim/compiler/shellcheck.vim | 3 | ||||
-rw-r--r-- | vim/compiler/vint.vim | 3 | ||||
-rw-r--r-- | vim/compiler/zsh.vim | 3 |
8 files changed, 16 insertions, 8 deletions
diff --git a/vim/compiler/bash.vim b/vim/compiler/bash.vim index ca418c24..13271e2b 100644 --- a/vim/compiler/bash.vim +++ b/vim/compiler/bash.vim @@ -9,7 +9,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') CompilerSet makeprg=bash\ -n\ --\ %:S else CompilerSet makeprg=bash\ -n\ --\ % diff --git a/vim/compiler/ksh.vim b/vim/compiler/ksh.vim index 759aae02..5dbff5a1 100644 --- a/vim/compiler/ksh.vim +++ b/vim/compiler/ksh.vim @@ -9,7 +9,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') CompilerSet makeprg=ksh\ -n\ --\ %:S else CompilerSet makeprg=ksh\ -n\ --\ % diff --git a/vim/compiler/perlcritic.vim b/vim/compiler/perlcritic.vim index 341fc9c8..b89ee76b 100644 --- a/vim/compiler/perlcritic.vim +++ b/vim/compiler/perlcritic.vim @@ -9,7 +9,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') CompilerSet makeprg=perlcritic\ --verbose\ 1\ --\ %:S else CompilerSet makeprg=perlcritic\ --verbose\ 1\ --\ % diff --git a/vim/compiler/php.vim b/vim/compiler/php.vim index e2bd0b59..be4283ef 100644 --- a/vim/compiler/php.vim +++ b/vim/compiler/php.vim @@ -9,7 +9,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') CompilerSet makeprg=php\ -lq\ -f\ %:S else CompilerSet makeprg=php\ -lq\ -f\ % diff --git a/vim/compiler/sh.vim b/vim/compiler/sh.vim index d4134e6e..5e7bc3ba 100644 --- a/vim/compiler/sh.vim +++ b/vim/compiler/sh.vim @@ -9,7 +9,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') CompilerSet makeprg=sh\ -n\ --\ %:S else CompilerSet makeprg=sh\ -n\ --\ % 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 . '\ --\ %' diff --git a/vim/compiler/vint.vim b/vim/compiler/vint.vim index e0d0b076..35819ae3 100644 --- a/vim/compiler/vint.vim +++ b/vim/compiler/vint.vim @@ -9,7 +9,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') CompilerSet makeprg=vint\ --\ %:S else CompilerSet makeprg=vint\ --\ % diff --git a/vim/compiler/zsh.vim b/vim/compiler/zsh.vim index 4fc5f30e..ad82cc3b 100644 --- a/vim/compiler/zsh.vim +++ b/vim/compiler/zsh.vim @@ -9,7 +9,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') CompilerSet makeprg=zsh\ -n\ --\ %:S else CompilerSet makeprg=zsh\ -n\ --\ % |