Commit Graph

252 Commits

Author SHA1 Message Date
Sylvain Soliman
9796022986 Allow the use of flake8 instead of pyflakes to check python code
Define a user-configurable variable g:syntastic_python_checker and
otherwise default to an available checker.
Make the highlighting catch all pyflakes errors
Add a header to the file
Make the errorformat handle columns provided by pep8 through flake8
2011-11-16 16:37:03 +01:00
Martin Grenfell
d2f51c70ea Merge pull request #99 from kusnier/xslt_checker
Add xslt syntax checker
2011-11-08 15:45:35 -08:00
Martin Grenfell
28d42b7240 Merge pull request #100 from kusnier/xml_checker
Add xml syntax checker
2011-11-08 15:45:10 -08:00
Sebastian Kusnier
7127e3c88f add xslt syntax checker 2011-11-08 10:53:38 +01:00
Sebastian Kusnier
6c83939fab add xml syntax checker 2011-11-07 23:00:44 +01:00
kongo2002
e220e1d8e6 remove unnecessary Init() from c syntax checker 2011-10-25 22:48:19 +02:00
Martin Grenfell
ffede31b9f Merge pull request #96 from sitedyno/csslint-compact-#55
Support new error formats in csslint 0.8.0
2011-10-25 12:30:23 -07:00
Heath Nail
de22bd1b7f Support new error formats in csslint 0.8.0 2011-10-25 12:43:21 -04:00
Martin Grenfell
b921b90aa5 Merge remote-tracking branch 'kongo/cpp_autoload'
Conflicts:
	syntax_checkers/c.vim
2011-10-25 11:24:33 +01:00
Martin Grenfell
5794f3fbb9 Merge remote-tracking branch 'kongo/c_includes' 2011-10-25 11:18:59 +01:00
Martin Grenfell
fb4fa11401 Merge pull request #94 from sitedyno/csslint-compact-#55
Display messages for csslint.
2011-10-25 01:52:42 -07:00
Heath Nail
73519a4003 Ignore lint free line. 2011-10-24 21:57:42 -04:00
Heath Nail
e3cac9dbff Display messages for csslint.
Simplify patterns and specify compact format for csslint cli.
2011-10-24 00:45:03 -04:00
kongo2002
48c0b59a28 add possibility to add compiler options like '-std=c++0x' 2011-09-09 21:55:04 +02:00
kongo2002
d6c25910c1 add header include search to cpp syntax checker 2011-09-09 21:41:25 +02:00
kongo2002
fc4181c256 tweak autoload file 2011-09-09 21:36:36 +02:00
kongo2002
3d77ad2c4d move c/cpp syntax helper functions into autoload 2011-09-09 21:31:45 +02:00
Martin Grenfell
cf6aa9a414 Merge pull request #58 from epeli/master
SCSS support
2011-08-22 08:25:27 -07:00
Martin Grenfell
3b00bdc483 Merge pull request #65 from kstep/master
Vala syntax check plugin
2011-08-22 08:23:27 -07:00
Martin Grenfell
166a63d8f0 Merge pull request #67 from atourino/new_compass_imports_for_sass_checker
Modifies the sass checker to use the --compass switch.
2011-08-22 08:21:41 -07:00
Martin Grenfell
4669dea036 Merge pull request #71 from roman/master
Updating puppet syntax checker
2011-08-22 08:20:36 -07:00
Martin Grenfell
6323e219f3 Merge pull request #72 from andyduncan/master
Added support for the Closure Linter
2011-08-22 08:19:32 -07:00
Martin Grenfell
75f7e73aa3 Merge pull request #73 from argent-smith/master
FreeBSD shell workaround
2011-08-22 08:17:58 -07:00
Pavel Argentov
6b2fd05b66 FreeBSD shell workaround 2011-08-16 21:46:39 +04:00
Andy Duncan
313695e2c6 Also match 'new' errors 2011-08-13 21:59:46 -07:00
Andy Duncan
3574ac167b add google closure linter support 2011-08-13 20:08:04 -07:00
Roman Gonzalez
50e99cc2c1 Improving the puppet syntax checker.
The current implementation only supports puppet < 2.6, when using
2.7.x it will complain all the time saying that the executable to check
syntax has changed. With this patch, it will work for version <= 2.7.x
2011-08-09 22:19:47 -07:00
kongo2002
bb834f38e5 extend default includes 2011-08-07 14:38:55 +02:00
kongo2002
c13ff43d4e remove debug print 2011-08-07 14:37:34 +02:00
kongo2002
f50116f31c c syntax checker: add doc 2011-08-07 14:25:42 +02:00
kongo2002
eb8f243a29 add possibility to add custom include directories 2011-08-07 14:22:32 +02:00
Antonio Touriño
d8b784cf3e Modifies the sass checker to use the --compass switch. 2011-07-26 12:32:45 -05:00
Martin Grenfell
88dbca87c8 Merge pull request #66 from cjab/master
Use Node JSLint for JavaScript syntax checking
2011-07-23 04:36:28 -07:00
Chad Jablonski
746d8b0310 Javascript syntax checking using Node JSLint 2011-07-23 01:49:10 -07:00
Martin Grenfell
08e61a8c94 automatically update errors when enabling/disabling syntax checkers
If a user uses :SyntasticEnable or :SyntasticDisable, update the errors
for the buffer automatically if possible
2011-07-12 10:59:41 +12:00
Konstantin Stepanov
e4240524f4 vala syntax checker 2011-07-10 15:42:25 +03:00
Konstantin Stepanov
46d43a6913 errors highlighter: syntastic#HighlightErrors() third optional bool argument to force callback call
Normally if location item has "col" item, syntastic#HighlightErrors() handle it without callback
call for performance reason. But sometimes it's necessary to handle all items with callback
(like in new vala syntax checker), so third optional bool arg is added to the function.

If this argument exists and has true value, then callback function is called on *all*
location items, no matter is they have "col" element or not.
2011-07-10 15:42:09 +03:00
Konstantin Stepanov
a70953794f html checker: suppress "placeholder" HTML5 attribute errors 2011-07-10 15:38:43 +03:00
Martin Grenfell
17183c6d19 fix the haml syntax checker
some ruby warnings were getting output when "haml -c" was run - these
were not getting handled by the syntax checker

use SyntasticMake instead of custom hax0r to parse the errors - this way
it is trivial to ignore all output that we dont care about
2011-07-09 18:59:21 +12:00
Martin Grenfell
2e28783447 Merge pull request #63 from roman/master
Improving Haskell support
2011-07-06 18:38:18 -07:00
Roman Gonzalez
a93acbd940 Adding ghc-mod as the haskell syntax checker
Previously ghc was being used, but this was not good because
ghc would work only on individual files. As soon you included
an external module also developed on the current project, ghc would
barf at you saying that the module couldn't be found. ghc-mod
doesn't check dependencies, just syntax, also it has the lint
utility that is pretty handy.
2011-07-06 18:30:19 -07:00
Martin Grenfell
714392db16 only load syntax checker plugins when needed
This reduces the number of unnecessary files that get sourced.
2011-07-04 23:48:26 +12:00
Martin Grenfell
1ab7c84423 Merge pull request #62 from Industrial/patch-1
coffee -o doesn't take /dev/null, only directories.
2011-06-29 16:46:52 -07:00
Tom Wieland
e4ec40479a coffee -o doesn't take /dev/null, only directories. 2011-06-29 16:30:58 -07:00
Martin Grenfell
e06feca206 css checker: fix the buf num in the returned location list
csslint only outputs the tail of the filename of the css file you
are editing so the errors weren't getting associated with the buffer.
2011-06-28 17:24:48 +12:00
Martin Grenfell
87ab6d2c54 Merge pull request #61 from oryband/master
css.vim - Fixed line/col printing in error description.
2011-06-24 15:11:45 -07:00
Ory Band
fd5765fcc9 Removed a single space char. Shouldn't be there. 2011-06-24 16:13:48 +03:00
Ory Band
5670bdd39f Added some spaces in pattern for css.vim. 2011-06-24 15:57:55 +03:00
Ory Band
32189bc06d css.vim now ignores line/col strings in error description (inconsistency in CSS Lint) 2011-06-24 15:50:01 +03:00
Ory Band
4e142bbdff Removed a duplicate errorformat line from css.vim syntax checker. 2011-06-24 15:33:02 +03:00