Commit Graph

1085 Commits

Author SHA1 Message Date
Martin Grenfell
44be5f391f Merge pull request #570 from brianpeiris/patch-1
Add support for JSHint's secondary error format
2013-03-21 01:31:38 -07:00
LCD 47
fb090ec277 Another bug fix. 2013-03-20 21:44:43 +02:00
LCD 47
e7aacdabf9 Bug fix. 2013-03-20 20:09:15 +02:00
LCD 47
1cab34063a Checkers cleanup.
Elliminates duplicate code.
Brings gcc cpp, objc, and ada checkers in synch with c.
Minor bug fixes.
2013-03-20 11:31:45 +02:00
LCD 47
1ae871e39d Cleanup: defer to php/phpcs.vim. 2013-03-20 09:07:07 +02:00
Brian Peiris
96658758d6 Add support for JSHint's secondary error format
JSHint has a secondary error format that includes a number related to the error message.

E.g. The normal error format is something like: 

.\Foo.js: line 2, col 5, Missing semicolon. (W033)

But the secondary error format includes a number in parentheses:

.\Foo.js: line 3, col 4, Blocks are nested too deeply. (2) (W073)"

I've changed the errorformat to read the message until it hits a space, instead of a period, so that these errors are included.
2013-03-19 17:27:38 -03:00
LCD 47
dbf6685b18 PHPCS can check CSS files. 2013-03-18 22:22:24 +02:00
Martin Grenfell
fa46a82860 ruby/mri: add highlight regex function
Make it work for unused variable warnings
2013-03-18 13:38:30 +00:00
Martin Grenfell
5117e76f99 Merge pull request #568 from lcd047/phpmd_syntax
Syntax highlighting function for phpmd
2013-03-18 05:54:05 -07:00
LCD 47
7846502a95 Added a syntax highlighting function. 2013-03-18 14:08:05 +02:00
Martin Grenfell
7250aae562 Merge pull request #567 from Chewie/syntastic_c_compiler
Added documentation for the g:syntastic_c_checker option
2013-03-18 04:00:03 -07:00
Martin Grenfell
073eae9884 Revert "python/flake8: add some backwards compat"
This reverts commit 0ef513a0a8.

The cases that I was trying to catch here were already caught further
along in the errorformat
2013-03-18 10:49:39 +00:00
Martin Grenfell
fd90fdf9f4 SyntasticChecker: extract out the highlight regex population code 2013-03-18 10:01:56 +00:00
LCD 47
0906a5c5d1 Cleanup: a simpler and more efficient approach. 2013-03-18 10:01:56 +00:00
Martin Grenfell
e01f3e2f6b Merge pull request #559 from troydm/master
javac checker maven executable option added
2013-03-18 02:49:43 -07:00
Martin Grenfell
c350107da2 jshint: add a comment version requirements 2013-03-18 09:49:00 +00:00
Martin Grenfell
b32d8f21be Merge pull request #562 from joshuarh/jshint-warnings
detect warnings in jshint
2013-03-18 02:47:59 -07:00
Martin Grenfell
291c3fa00b Merge pull request #563 from Lasall/vala-modules-copy
Work with copy of g:syntastic_vala_modules list.
2013-03-18 02:45:37 -07:00
Martin Grenfell
29fb3250d0 Merge pull request #564 from hdoshi/master
Use redraw in mvim
2013-03-18 02:44:47 -07:00
Martin Grenfell
0ef513a0a8 python/flake8: add some backwards compat
make it match E and W for flake < 2.0
2013-03-18 09:42:22 +00:00
Martin Grenfell
04d96a9019 Merge pull request #566 from Chronial/master
flake8 2.0 error parsing
2013-03-18 02:35:08 -07:00
Kévin Sztern
d1897fe482 Added documentation for the g:syntastic_c_checker option 2013-03-17 22:45:43 +01:00
Chronial
1315a85aee recognize flake8 2.0 error output 2013-03-17 12:13:39 +01:00
Harsh Doshi
3d736681ea redraw! causes screen flicker in mvim too 2013-03-15 17:20:41 -07:00
Dominique Lasserre
0511f0a216 Work with copy of g:syntastic_vala_modules list. 2013-03-16 00:48:50 +01:00
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
troydm
b475f08fed maven executable option added 2013-03-13 20:00:17 +04:00
amouravski
964e17f4b3 Updated the dart syntax checker.
It now uses the correct path for the dart_analyzer, it uses the
machine readable format to provide more information.

The highlighter now highlights the exact span that the analyzer complains
about. Further, warnings are different from errors now.
2013-03-11 19:25:01 -07:00
Martin Grenfell
75a234231b fix sign highlight groups
Seems that `:sign define ... texthl=bar` causes `hlexists('bar')` to
return true.

So set up the highlight groups before the signs - otherwise they will
never be set up by default.
2013-03-08 17:50:24 +00:00
Martin Grenfell
6179175cb1 Merge pull request #546 from docwhat/ver-is-at-least
Made SyntacticIsVersionAtLeast more robust
2013-03-08 09:01:49 -08:00
Christian Höltje
2f4fc38053 Renamed version check function
Moved the `SyntasticIsVersionAtLeast()` into `util.vim` as
`syntastic#util#versionIsAtLeast()` as per @scrooloose's suggestion.
2013-03-08 11:58:49 -05:00
Christian Höltje
3dc0b6dc24 Made SyntacticIsVersionAtLeast more robust
It now handles more cases, which will cause Syntastic to degrade better
when commands return weird versions (e.g. the command crashes).
2013-03-08 11:51:39 -05:00
Martin Grenfell
2003c772b0 Merge pull request #465 from chazlever/master
Fix Flake8 Error/Warning Parsing
2013-03-08 07:10:55 -08:00
Martin Grenfell
034727a04c Merge pull request #528 from jszakmeister/add-highlight-groups
Add highlight groups for the signs and the lines.
2013-03-08 07:09:10 -08:00
Martin Grenfell
531a069c1a fix syntastic_auto_jump functionality
Previously we removed the code to automatically set the loclist and only
set it when required. This was needed because otherwise we could
interfere with other plugins that use the loclist.

Add the call to setloclist back in only if syntastic_auto_jump is set.
This will blow away the loclist every time the file is checked, but
setting syntastic_auto_jump is the users choice.

Fixes #533
2013-03-08 15:04:22 +00:00
Martin Grenfell
e61aab2b12 Merge pull request #534 from xandox/master
Use mix for elixir if it available and vim started from project root
2013-03-08 06:53:48 -08:00
Martin Grenfell
eef491c5ac Merge pull request #538 from joshuarh/simplify-ruby-checker
remove unused function (because of 2519d83)
2013-03-08 06:50:24 -08:00
Martin Grenfell
7533269ae1 Merge pull request #540 from lcd047/chktex
New checker for TeX / LaTeX: ChkTeX.
2013-03-08 06:49:15 -08:00
LCD 47
ff3c05a413 Fix syntax highlighting.
The variable force_highlight_callback is gone.

Highlight functions are now consistently named
SyntaxCheckers_<filetype>_<checker>_GetHighlightRegex(), and they
take precedence over highlighting based on column.
2013-03-08 14:45:57 +00:00
Martin Grenfell
ed300e34e7 Merge pull request #547 from docwhat/puppet-lint
Typo: Check for puppet-lint, not puppet
2013-03-08 06:32:34 -08:00
Christian Höltje
6a1f624041 Typo: Check for puppet-lint, not puppet 2013-03-07 21:30:44 -05:00
Martin Grenfell
3e463db48e Merge pull request #537 from brendanjerwin/fix_coffeelint_options
Fix CoffeeLint parameter overrides
2013-03-04 06:59:01 -08:00
Martin Grenfell
b480992ae8 Merge pull request #532 from dbarnett/per_buffer
Add support for buffer-local b:syntastic_checkers var.
2013-03-04 01:17:25 -08:00
David Barnett
7e41fd12ce Update help file for b:syntastic_checkers 2013-03-03 17:58:27 -08:00
LCD 47
387c3bc264 New checker for TeX / LaTeX: ChkTeX. 2013-03-02 09:15:23 +02:00
Josh Hoff
746d0c063f remove unused function (because of 2519d83) 2013-02-28 19:29:58 -06:00
Brendan Erwin
fe87bb8b03 This allows the overrides to work 2013-02-28 07:38:25 -05:00
Taylor Price
28adb9feb9 Add a check for the error messages variable so that users can specify their own error format. 2013-02-27 11:29:40 -08: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
Ely Arzhannikov
51e02ac31c Merge pull request #1 from xandox/use_mix_for_elixir
Use mix for elixir
2013-02-25 04:56:58 -08:00