Fabio Pelosin
1158999c85
Added MacRuby/RubyMotion syntax checker.
2012-05-09 14:12:15 +02:00
Martin Grenfell
7fc5246be4
html: rename w3c.vim to w3.vim (i fail @ naming files!)
...
Also, fix the header comments for tidy/w3 so they have the right
filenames
2012-05-01 15:23:22 +01:00
Martin Grenfell
5c159fd374
html: split the checkers into separate files
...
Previously the 2 checkers were in the same file - this is more "tidy"
(lol??).
Currently the logic to determine which checker is loaded is custom to
the checker. At some point the SyntasticLoadChecker() function should be
upgraded to be able to handle cases (like this one) where the name of
the checker doesnt imply the name(s) of the executables that have to be
checked for.
2012-05-01 15:14:42 +01:00
Martin Grenfell
fd297d7768
html: fixed mixed indenting
2012-05-01 14:50:17 +01:00
Martin Grenfell
976fa99928
Merge remote-tracking branch 'daniel-walker/w3-validator'
2012-05-01 14:49:10 +01:00
Martin Grenfell
03a58be0fe
puppet: fix a bug with the syntastic_puppet_lint_disabled option
...
The logic for this option was reversed in 2 places. Puppet-lint should
have been getting disabled for old versions and if it wasnt installed,
but the logic was wrong.
2012-05-01 14:44:15 +01:00
Martin Grenfell
6829178908
Merge pull request #238 from jondavidjohn/master
...
PHP error not parsing
2012-04-20 08:50:58 -07:00
Jonathan Johnson
0e9927ca93
Add another PHP error clause to the list of parsables
2012-04-20 09:47:04 -05:00
Martin Grenfell
5c7f2b800d
Merge pull request #227 from mschulkind/master
...
Stop clobbering global variables
2012-04-20 07:15:30 -07:00
Matthew Schulkind
4611645c18
Stop clobbering global options.
2012-04-20 10:11:07 -04:00
Martin Grenfell
96fd02e1f2
Merge pull request #229 from leepa/master
...
flake8: don't clobber the text with Syntax Error
2012-04-20 06:36:20 -07:00
Martin Grenfell
7deb54d283
Merge pull request #228 from kisielk/patch-2
...
Build all files with go build
2012-04-20 06:33:50 -07:00
Martin Grenfell
5c0074fba6
Merge pull request #223 from Fruneau/filter-out-invalid
...
Only keep "valid" entries in the error count.
2012-04-20 06:14:33 -07:00
Martin Grenfell
0278642ef6
Merge pull request #222 from ldx/c_configfile_fix
...
Fix makeprg construction.
2012-04-20 06:11:12 -07:00
Daniel Walker
4eb1a0e57a
Modify the html checker to optionally use http://validator.w3.org/
...
instead of tidy.
2012-04-19 08:23:03 -07:00
Lee Packham
02e510eec4
Don't shoe horn 'syntax error' everywhere
...
It hides the actual warning/error from Syntastic - so don't do that.
2012-04-12 06:48:17 +01:00
Kamil Kisiel
16a7a87529
Build all files with go build
2012-04-11 08:19:57 -07:00
Martin Grenfell
4b61f4b2b9
Merge pull request #224 from kisielk/patch-1
...
go syntax checker using 'go build'
2012-04-03 06:26:56 -07:00
Kamil Kisiel
315e1ad9d2
support column number in go syntax checker
2012-04-01 10:12:51 -07:00
Kamil Kisiel
3cac7f39c1
go syntax checker using 'go build'
2012-03-29 07:48:52 -07:00
Florent Bruneau
999d3c1bb3
Only keep "valid" entries in the error count.
...
The location list returned by getloclist() may contain entries that are
not errorformat matches. By "definition", (see :help getqflist), matched
lines have the attribute "valid": 1 set, so only keep those lines in
error/warning list to avoid erroneous counts and strange behaviors.
Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>
2012-03-28 19:48:54 +02:00
ldx
c6407e55e8
Fix makeprg construction for cpp too.
2012-03-28 14:40:19 +02:00
ldx
2ef26e11e9
Fix makeprg construction.
...
Add space before appending the result of ReadConfig() to makeprg.
2012-03-28 14:22:17 +02:00
Martin Grenfell
e961f17c7c
Merge pull request #220 from kongo2002/c_config
...
Add configuration file support for C/C++
2012-03-28 04:27:02 -07:00
Martin Grenfell
d868417061
Merge pull request #218 from dag/master
...
Make Haskell checker configurable
2012-03-28 04:19:18 -07:00
kongo2002
0f1ea022e9
add ReadConfig to C++ checker as well
2012-03-27 22:28:35 +02:00
kongo2002
c791c3103e
add ReadConfig support to C syntax checker
2012-03-27 22:26:15 +02:00
kongo2002
d8f3aa5d50
add ReadConfig() function for C/C++ checkers
2012-03-27 22:15:06 +02:00
Dag Odenhall
8d6fe0d6c2
haskell: configurable ghc-mod arguments, default to support for HSP
2012-03-27 13:21:59 +02:00
Martin Grenfell
b4e85a8762
python/flake8: assume all outputs are errors - not warnings
...
The output of flake8 is ambiguous as to whether results should be
interpreted as warnings or errors. I have changed it to assume errors to
match the python/pyflakes checker.
In future we may want to change this or add items to the errorformat for
some specific warnings if they are annoying.
This fixes #203 .
2012-03-27 10:41:37 +01:00
Martin Grenfell
62fb4e70e4
php: set error_reporting=E_ALL
...
setting it to E_PARSE causes some errors to be missed - e.g.
`$a[$b][] $c;`
will not cause an error to get reported as this is classed as a compile
error, not a parse error.
This should fix #206 .
2012-03-27 09:41:50 +01:00
Martin Grenfell
0fab9ef09d
Merge pull request #214 from jamezpolley/master
...
Fixes #202 - redict stderr in a way that doesn't break on versions of bash <4.0
2012-03-26 08:44:11 -07:00
Martin Grenfell
39881cdd82
Merge pull request #216 from kstep/vala-modules
...
vala: g:syntastic_vala_modules variable to set modules list via vim script
2012-03-26 08:16:35 -07:00
Konstantin Stepanov
3cc6bf5cdd
vala: g:syntastic_vala_modules variable to set modules list via vim script
2012-03-26 15:27:45 +03:00
James Polley
7cd8efec70
Fixes #202 - redict stderr in a way that doesn't break on versions of
...
bash <4.0
2012-03-24 19:18:08 +11:00
Martin Grenfell
3c569d2b97
pass a filetype to SyntasticLoadChecker
...
This is needed to handle compound filetypes since we cant imply the
location of the syntax checker file from the filetype.
e.g. we want to load `syntax_checkers/python/pylint.vim`, but the
filetype is `python.django`. Previously this was causing `runtime
syntax_checkers/python.django/pylint.vim` to be executed.
2012-03-21 09:42:11 +00:00
Martin Grenfell
abd55ed2a6
Merge pull request #209 from bram85/master
...
Safely fetch 'col' key from error item, it may not exist.
2012-03-20 15:21:41 -07:00
Bram Schoenmakers
a6be206b71
Safely fetch the 'col' key of an error, it may not exist.
...
Since commit 892cc2, errors appeared on screen for example when checking
shell scripts.
2012-03-20 22:41:33 +01:00
Martin Grenfell
5be83cdcc7
Merge pull request #201 from bukzor/master
...
redirect pylint stderr
2012-03-20 04:27:52 -07:00
Li He
a9383527d6
python/pylint: add g:syntastic_python_checker_args
...
I borrow this from flake8.
2012-03-20 11:21:08 +00:00
Martin Grenfell
53c70feb8c
Merge remote-tracking branch 'parantapa/master'
...
Conflicts:
syntax_checkers/python/pylint.vim
2012-03-20 11:17:53 +00:00
Martin Grenfell
4eafc68657
Merge pull request #207 from critpizza/master
...
puppet style support using puppet-lint
2012-03-20 01:49:48 -07:00
Jos Houtman
4c8ee38782
Abstracted the makeprg selection for puppet away into its own function
2012-03-20 08:53:43 +01:00
Jos Houtman
ca6a4b23c3
Added puppet-lint support with the use of subtypes
2012-03-20 05:56:51 +01:00
Buck Golemon
1a91488451
prevent stderr from messing up the terminal, in the (usual) case of no pylintrc found
2012-03-12 12:15:51 -07:00
Martin Grenfell
9f1cdfd92c
Merge pull request #200 from bukzor/master
...
Fix pylint parsing
2012-03-12 02:02:29 -07:00
Buck Golemon
c039b0f128
fix pylint parsing
2012-03-11 22:04:47 -07:00
Martin Grenfell
ed515fc268
Merge pull request #198 from kongo2002/cpp_compiler_options
...
Fix custom compiler options handling for C/C++
2012-03-11 16:35:14 -07:00
kongo2002
adedb47ad7
refactoring of GetIncludeDirs() for C/C++
2012-03-11 19:55:01 +01:00
kongo2002
6ce5880b81
set default C compiler options
2012-03-11 19:40:53 +01:00