aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-19 20:00:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-19 20:00:58 +1200
commitf010490dcbf07844f3b37b86d3adddcd508a2449 (patch)
treebd69eec0825cc6f0e91a350ed3ce6ae533d3e5c2
parentRevert "Let's try leaving netrw on again for a ... (diff)
downloaddotfiles-f010490dcbf07844f3b37b86d3adddcd508a2449.tar.gz
dotfiles-f010490dcbf07844f3b37b86d3adddcd508a2449.zip
Add option terminators or equivs to :compilers
-rw-r--r--vim/compiler/bash.vim4
-rw-r--r--vim/compiler/ksh.vim4
-rw-r--r--vim/compiler/perlcritic.vim4
-rw-r--r--vim/compiler/php.vim4
-rw-r--r--vim/compiler/sh.vim4
-rw-r--r--vim/compiler/shellcheck.vim4
-rw-r--r--vim/compiler/vint.vim4
-rw-r--r--vim/compiler/zsh.vim4
8 files changed, 16 insertions, 16 deletions
diff --git a/vim/compiler/bash.vim b/vim/compiler/bash.vim
index 70997f92..832e9120 100644
--- a/vim/compiler/bash.vim
+++ b/vim/compiler/bash.vim
@@ -10,8 +10,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')
- CompilerSet makeprg=bash\ -n\ %:S
+ CompilerSet makeprg=bash\ -n\ --\ %:S
else
- CompilerSet makeprg=bash\ -n\ %
+ CompilerSet makeprg=bash\ -n\ --\ %
endif
CompilerSet errorformat=%f:\ line\ %l:\ %m
diff --git a/vim/compiler/ksh.vim b/vim/compiler/ksh.vim
index 1b31ffa7..be552972 100644
--- a/vim/compiler/ksh.vim
+++ b/vim/compiler/ksh.vim
@@ -10,8 +10,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')
- CompilerSet makeprg=ksh\ -n\ %:S
+ CompilerSet makeprg=ksh\ -n\ --\ %:S
else
- CompilerSet makeprg=ksh\ -n\ %
+ CompilerSet makeprg=ksh\ -n\ --\ %
endif
CompilerSet errorformat=%f:\ %l:\ %m
diff --git a/vim/compiler/perlcritic.vim b/vim/compiler/perlcritic.vim
index 03d21683..0d61487b 100644
--- a/vim/compiler/perlcritic.vim
+++ b/vim/compiler/perlcritic.vim
@@ -10,8 +10,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')
- CompilerSet makeprg=perlcritic\ --verbose\ 1\ %:S
+ CompilerSet makeprg=perlcritic\ --verbose\ 1\ --\ %:S
else
- CompilerSet makeprg=perlcritic\ --verbose\ 1\ %
+ CompilerSet makeprg=perlcritic\ --verbose\ 1\ --\ %
endif
CompilerSet errorformat=%f:%l:%c:%m
diff --git a/vim/compiler/php.vim b/vim/compiler/php.vim
index aeb171c5..2d5f4f69 100644
--- a/vim/compiler/php.vim
+++ b/vim/compiler/php.vim
@@ -10,9 +10,9 @@ 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')
- CompilerSet makeprg=php\ -lq\ %:S
+ CompilerSet makeprg=php\ -lq\ -f\ %:S
else
- CompilerSet makeprg=php\ -lq\ %
+ CompilerSet makeprg=php\ -lq\ -f\ %
endif
" Here be copy-pasted dragons
diff --git a/vim/compiler/sh.vim b/vim/compiler/sh.vim
index ff5ed314..a62a00db 100644
--- a/vim/compiler/sh.vim
+++ b/vim/compiler/sh.vim
@@ -10,8 +10,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')
- CompilerSet makeprg=sh\ -n\ %:S
+ CompilerSet makeprg=sh\ -n\ --\ %:S
else
- CompilerSet makeprg=sh\ -n\ %
+ CompilerSet makeprg=sh\ -n\ --\ %
endif
CompilerSet errorformat=%f:\ %l:\ %m
diff --git a/vim/compiler/shellcheck.vim b/vim/compiler/shellcheck.vim
index 6d6498da..354291f6 100644
--- a/vim/compiler/shellcheck.vim
+++ b/vim/compiler/shellcheck.vim
@@ -20,8 +20,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')
- execute s:set . '\ %:S'
+ execute s:set . '\ --\ %:S'
else
- execute s:set . '\ %'
+ execute s:set . '\ --\ %'
endif
CompilerSet errorformat=%f:%l:%c:\ %m\ [SC%n]
diff --git a/vim/compiler/vint.vim b/vim/compiler/vint.vim
index 54d0fc4d..db75d3c6 100644
--- a/vim/compiler/vint.vim
+++ b/vim/compiler/vint.vim
@@ -10,8 +10,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')
- CompilerSet makeprg=vint\ %:S
+ CompilerSet makeprg=vint\ --\ %:S
else
- CompilerSet makeprg=vint\ %
+ CompilerSet makeprg=vint\ --\ %
endif
CompilerSet errorformat=%f:%l:%c:\ %m
diff --git a/vim/compiler/zsh.vim b/vim/compiler/zsh.vim
index 685a01ad..c9290b8d 100644
--- a/vim/compiler/zsh.vim
+++ b/vim/compiler/zsh.vim
@@ -10,8 +10,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')
- CompilerSet makeprg=zsh\ -n\ %:S
+ CompilerSet makeprg=zsh\ -n\ --\ %:S
else
- CompilerSet makeprg=zsh\ -n\ %
+ CompilerSet makeprg=zsh\ -n\ --\ %
endif
CompilerSet errorformat=%f:%l:\ %m