diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 03:02:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 03:02:42 +1200 |
commit | ecb93807b40e78eabcbd24391dacf27669d521bd (patch) | |
tree | c9afef10e34f4e9c2d939ab96f1df10c6167024a /vim/compiler/vint.vim | |
parent | Merge branch 'release/v4.57.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-ecb93807b40e78eabcbd24391dacf27669d521bd.tar.gz dotfiles-ecb93807b40e78eabcbd24391dacf27669d521bd.zip |
Merge branch 'release/v4.58.0'v4.58.0
* release/v4.58.0:
Bump VERSION
Overhaul Vim :compiler scripts
Remove vim-cmdwin-ctrlc plugin
Diffstat (limited to 'vim/compiler/vint.vim')
-rw-r--r-- | vim/compiler/vint.vim | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/vim/compiler/vint.vim b/vim/compiler/vint.vim index 35819ae3..8cd35cf1 100644 --- a/vim/compiler/vint.vim +++ b/vim/compiler/vint.vim @@ -1,18 +1,9 @@ -if exists('current_compiler') +" :compiler support for Vim script linting with Vint +" <https://github.com/Kuniwak/vint> +if exists('current_compiler') || &compatible || v:version < 800 finish endif let current_compiler = 'vimlint' -if exists(':CompilerSet') != 2 - command -nargs=* CompilerSet setlocal <args> -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 -else - CompilerSet makeprg=vint\ --\ % -endif +CompilerSet makeprg=vint\ --\ %:S CompilerSet errorformat=%f:%l:%c:\ %m |