Commit Graph

979 Commits

Author SHA1 Message Date
Josh
f05a277f92 detect warnings in jshint
pass `jshint` the `--verbose` option to get 'W' or 'E' indicating
whether something is a warning or an error.

NOTE: this was tested with jshint 1.1.0 installed with `npm install
jshint`
2013-03-15 16:30:08 -05:00
Martin Grenfell
2519d83569 Merge pull request #483 from medlefsen/fix_mri_ruby
Ruby checker breaks with rvm when using "system" ruby
2013-02-26 07:46:37 -08:00
Martin Grenfell
182b3f01c0 docs: a couple of trivial updates 2013-02-22 10:27:51 +00:00
Martin Grenfell
81e9f7aeea Merge pull request #526 from cheecheeo/master
Point out syntastic global variables earlier
2013-02-22 02:26:50 -08:00
John Chee
10d1b282ce Point out syntastic global variables earlier
Update README -> FAQ to include an explicit question "How can I pass
additional arguments to a checker" and update to the vimdoc "Configuring
specific checkers" to point users to global variables accepted by
'syntastic#makeprg#build' before pointing them to checker source code.
2013-02-21 18:14:46 -08:00
Martin Grenfell
5c6dcb0554 Merge pull request #524 from trprice/master
Fix the first GetLocList() functions to IsAvailable()
2013-02-21 15:35:30 -08:00
Taylor Price
fe346c8a41 For each of thise files, the IsAvailable function was mistakenly named with GetLocList. 2013-02-21 14:57:35 -08:00
Martin Grenfell
4a637e8315 Merge pull request #521 from trprice/master
ghd-mod.vim - Change the '-' (dash) in the "header guard" to a '_' (underscore) to fix an unexpected characters error.
2013-02-21 13:55:02 -08:00
Taylor Price
91e8b1ce84 Change the - (dash) in the header guard to _ (underscore) to fix an unxepected characters error 2013-02-21 10:10:22 -08:00
Martin Grenfell
8cc63c729a be more strict with default checker settings
If a filetype has default checker settings, then only allow those
checkers to be used by default. The user must manually specify other
checkers to use if they dont want the default.

In future the `s:defaultCheckers` hash should be more complex (or
possibly an object) that allows us to specify "only" vs "preferred".

This change was made in response to the html filetype using the w3
checker when tidy is not installed.
2013-02-21 16:50:39 +00:00
Martin Grenfell
342a13eec2 Merge pull request #514 from dominic-goog/master
fix 'missing endfunction' error for dart
2013-02-21 08:30:10 -08:00
Martin Grenfell
fce786f59a Merge pull request #516 from mybuddymichael/master
Don't pass -fno-code to Haskell's ghc
2013-02-21 08:23:29 -08:00
Martin Grenfell
b7301ba258 Merge pull request #517 from trprice/master
Fix the "Missing :endfunction" in syntax_checkers\objc\gcc.vim
2013-02-21 08:21:48 -08:00
Martin Grenfell
16424e5761 add guards to all checkers
goddamn I love macros
2013-02-21 15:50:41 +00:00
Martin Grenfell
31789e4e8e lisp/clisp: add a missing comma 2013-02-21 15:21:43 +00:00
Martin Grenfell
b082efb6cb Merge pull request #509 from lcd047/master
Drop g:syntastic_perl_perlcritic_options.
2013-02-21 07:18:08 -08:00
Taylor Price
475f3f934c Change the endif on SyntaxCheckers_objc_gcc_IsAvailable to endfunction 2013-02-19 16:51:07 -08:00
Michael Hanson
dd4e3af44d Don't pass -fno-code to ghc 2013-02-19 15:19:04 -08:00
Dominic Hamon
a875cd2101 Update syntax_checkers/dart/dart_analyzer.vim 2013-02-19 13:14:21 -08:00
LCD 47
c3f5414048 Modeline for help. 2013-02-19 09:22:02 +02:00
LCD 47
4842eed1ba Drop g:syntastic_perl_perlcritic_options.
This variable has been rendered obsolete by the standard mechanism
of g:syntastic_perl_perlcritic_args.
2013-02-16 09:34:58 +02:00
Martin Grenfell
0fcf795140 coffeelint: remove unused and unneeded coffelint args option 2013-02-15 10:14:34 +00:00
Martin Grenfell
1d681c546d vala: remove the option to disable it
This can be done with:

`let g:syntastic_mode_map={'passive_filetypes': 'vala'}` or by setting
`let g:syntastic_vala_checkers=[]`

Closes #502.
2013-02-14 15:52:40 +00:00
Martin Grenfell
34a1fa673e readme: fix a couple of typos 2013-02-14 15:00:28 +00:00
Martin Grenfell
837722c2d8 add an faq about option names changing and remove changelog from readme 2013-02-14 14:58:47 +00:00
Martin Grenfell
c787bca6de twig: use syntastic#makeprg#build 2013-02-11 17:42:43 +00:00
Martin Grenfell
3870ae133b Merge pull request #496 from mixvin/patch-1
Added explicit call of escript
2013-02-10 15:07:33 -08:00
Mikhail Vinogradov
417fd8b484 Added explicit call of escript
Added explicit call of escript, to run check, bypassing shell (actual for Windows)
2013-02-11 02:18:56 +04:00
Martin Grenfell
9c211a7d55 first round of updates to the doc
* remove the changelog, credits and (outdated) doc on writing syntax
  checkers
* doc the `syntastic#makeprg#build()` options
* doc how to select which syntax checkers to use
2013-02-10 17:32:15 +00:00
Martin Grenfell
240ad4b34f add an faq RE setting which checkers to use 2013-02-10 16:51:02 +00:00
Martin Grenfell
6acff371af rst: extract a temp var to a query 2013-02-10 16:50:49 +00:00
Martin Grenfell
3049323c74 Merge pull request #492 from tobyS/fix-rst-alternative-checker-binary
Fixed: Check for alternative rst2pseudoxml binary.
2013-02-09 09:52:48 -08:00
Martin Grenfell
924cf68c2e add a function to get the active checker names for a filetype 2013-02-09 17:49:01 +00:00
Martin Grenfell
df9ca84a22 html/tidy: retarded bugfix with s:Args not returning a value 2013-02-08 16:27:07 +00:00
Tobias Schlitt
1d3bbf2aae Fixed: Check for alternative rst2pseudoxml binary.
On some systems, the corresponding binary is named "rst2pseudoxml"
instead of "rst2pseudoxml.py".
2013-02-07 09:23:50 +01:00
Martin Grenfell
6cf4581d57 Merge pull request #491 from lcd047/master
Pylint output should be sorted
2013-02-06 06:32:42 -08:00
LCD 47
b33e37470f Output from pylint should be sorted. 2013-02-06 16:27:49 +02:00
Martin Grenfell
368505eb60 coffee: split up coffee and coffeelint 2013-02-06 13:59:27 +00:00
Martin Grenfell
8a8bb39af3 Merge pull request #490 from lcd047/master
Off by one error
2013-02-06 05:54:00 -08:00
LCD 47
0a0c6fa049 Merge remote-tracking branch 'upstream/master' 2013-02-06 15:51:12 +02:00
LCD 47
f5dc5b1ad4 Off by one error, sorry. :( 2013-02-06 15:48:58 +02:00
Martin Grenfell
9f08ff9cf6 html: only try to run tidy by default - not w3c
The w3c checker goes out to the internet to get its results so disable
it by default.
2013-02-06 13:47:41 +00:00
Martin Grenfell
6b905fed2a Merge pull request #489 from lcd047/master
Remove sed(1) dependency from pylint
2013-02-06 05:43:41 -08:00
LCD 47
b53072bee0 Munge the output of pylint in Vim rather than relying on sed(1). 2013-02-06 15:29:56 +02:00
Martin Grenfell
c41f2c8917 bugfix for c/ycm 2013-02-05 14:54:56 +00:00
Martin Grenfell
d6806c1f20 Merge pull request #484 from pipboy3000/cp932add
Add cp932(Windows-31J) support to tidy.vim.
2013-02-05 05:13:42 -08:00
Asai Masami
438fc33311 add cp932 to tidy.vim. 2013-02-05 21:52:27 +09:00
Matt Edlefsen
c658f06756 Remove broken rvm handling in mri ruby checker
RVM does not always provide an executable for  specific ruby version
that is loaded (the "system" version).

RVM, or whatever else the user uses, should always setup "ruby" to point
to the correct version so this can always be used.
2013-02-05 07:07:52 -05:00
Martin Grenfell
76d1d42d64 perlcritic: :retab the file to make the indenting consistent
Syntastic uses 4 space indents, update this file to be consistent.
2013-02-05 09:11:21 +00:00
Martin Grenfell
8f6dbbced4 Merge pull request #470 from Valloric/ycm_bad_merge_fix
Fixing the errors in the ycm files
2013-02-05 01:02:25 -08:00