diff options
Diffstat (limited to 'vim/compiler')
-rw-r--r-- | vim/compiler/perlcritic.vim | 11 | ||||
-rw-r--r-- | vim/compiler/vint.vim | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/vim/compiler/perlcritic.vim b/vim/compiler/perlcritic.vim new file mode 100644 index 00000000..381e0df3 --- /dev/null +++ b/vim/compiler/perlcritic.vim @@ -0,0 +1,11 @@ +if exists('current_compiler') + finish +endif +let g:current_compiler = 'tidy' + +if exists(':CompilerSet') != 2 + command -nargs=* CompilerSet setlocal <args> +endif + +CompilerSet makeprg=perlcritic\ --verbose\ 1\ %:S +CompilerSet errorformat=%f:%l:%c:%m diff --git a/vim/compiler/vint.vim b/vim/compiler/vint.vim new file mode 100644 index 00000000..35a4372e --- /dev/null +++ b/vim/compiler/vint.vim @@ -0,0 +1,11 @@ +if exists('current_compiler') + finish +endif +let g:current_compiler = 'vimlint' + +if exists(':CompilerSet') != 2 + command -nargs=* CompilerSet setlocal <args> +endif + +CompilerSet makeprg=vint\ %:S +CompilerSet errorformat=%f:%l:%c:\ %m |