You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.6 KiB
VimL

Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
"============================================================================
"File: vint.vim
"Description: Syntax checking plugin for syntastic.vim
"Maintainer: LCD 47 <lcd047 at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
" Want To Public License, Version 2, as published by Sam Hocevar.
" See http://sam.zoy.org/wtfpl/COPYING for more details.
"
"============================================================================
if exists('g:loaded_syntastic_vim_vint_checker')
finish
endif
let g:loaded_syntastic_vim_vint_checker = 1
if !exists('g:syntastic_vim_vint_sort')
let g:syntastic_vim_vint_sort = 1
endif
let s:save_cpo = &cpo
set cpo&vim
function! SyntaxCheckers_vim_vint_GetLocList() dict
let makeprg = self.makeprgBuild({ 'post_args': '--json' })
let errorformat = '%f:%l:%c:%t: %m'
let loclist = SyntasticMake({
\ 'makeprg': makeprg,
\ 'errorformat': errorformat,
\ 'preprocess': 'vint',
\ 'returns': [0, 1] })
for e in loclist
if e['type'] ==? 's'
let e['type'] = 'w'
let e['subtype'] = 'Style'
elseif e['type'] !=? 'e' && e['type'] !=? 'w'
let e['type'] = 'e'
endif
endfor
return loclist
endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'filetype': 'vim',
\ 'name': 'vint'})
let &cpo = s:save_cpo
unlet s:save_cpo
" vim: set sw=4 sts=4 et fdm=marker: