diff options
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 | 16 | ||||
-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, 25 insertions, 12 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 66313bba..be4283ef 100644 --- a/vim/compiler/php.vim +++ b/vim/compiler/php.vim @@ -9,15 +9,21 @@ 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\ % endif " Here be copy-pasted dragons -CompilerSet errorformat=%E<b>%.%#Parse\ error</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />, - \%W<b>%.%#Notice</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />, - \%E%.%#Parse\ error:\ %m\ in\ %f\ on\ line\ %l, - \%W%.%#Notice:\ %m\ in\ %f\ on\ line\ %l, +CompilerSet errorformat= + \%E<b>%.%#Parse\ error</b>: + \\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />, + \%W<b>%.%#Notice</b>: + \\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />, + \%E%.%#Parse\ error: + \\ %m\ in\ %f\ on\ line\ %l, + \%W%.%#Notice: + \\ %m\ in\ %f\ on\ line\ %l, \%-G%.%# 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\ --\ % |