Commit Graph

956 Commits

Author SHA1 Message Date
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
Chad Jablonski
746d8b0310 Javascript syntax checking using Node JSLint 2011-07-23 01:49:10 -07:00
Konstantin Stepanov
e4240524f4 vala syntax checker 2011-07-10 15:42:25 +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
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
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
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
Ory Band
df643397fc Add CSS syntax checking support using CSS Lint (http://csslint.net). 2011-06-23 19:19:16 +03:00
Esa-Matti Suuronen
d5b2788172 Update poor man's SCSS support to match new Sass function. 2011-06-20 22:01:29 +03:00
Esa-Matti Suuronen
47202d0c21 Merge branch 'master' of git://github.com/scrooloose/syntastic 2011-06-20 21:59:25 +03:00
Esa-Matti Suuronen
bbc9148c08 Add poor man's SCSS support. 2011-06-20 21:58:45 +03:00
Martin Grenfell
15291e9b72 Merge pull request #52 from temporaer/master
added support for NVIDIA CUDA (a C dialect for programming GPUs) syntax checking
2011-06-19 23:43:17 -07:00
Hannes Schulz
be71a0872b cuda.vim: added author note 2011-06-20 08:04:04 +02:00
Brandon Waskiewicz
d9ba6d7963 [PATCH] Tweaked c syntax checker errorformat
Added a more specific c syntax checker errorformat before the more
general ones so the jumping is not broken by assuming the line number is
a part of the file.

Signed-off-by: kongo2002 <kongo2002@googlemail.com>
2011-06-19 21:25:53 +02:00
David Lee
b86026cdc0 Cache g:syntastic_sass_imports on first use 2011-06-15 13:37:05 -07:00
Hannes Schulz
8074c94ca4 added syntax-checker for NVIDIA CUDA .cu/.cuh files 2011-06-10 11:16:42 +02:00
Jason Graham
dbaad0ecf9 Add syntax checker for matlab/octave files
Requires mlint, distributed with matlab
2011-06-09 18:11:14 -07:00
Martin Grenfell
918528b63f Merge pull request #47 from mogren/master
Added jshint detection in addition to jsl
2011-06-02 13:26:53 -07:00
Martin Grenfell
77c32bddbc Merge pull request #49 from dtjm/master
Adding support for Google Go
2011-06-02 13:21:50 -07:00
Martin Grenfell
c1b921bf04 Merge pull request #48 from julienXX/fix_less_files_generation
Fix less files generation
2011-06-02 13:21:07 -07:00
Sam Nguyen
c2e5d2789a adding support for Google Go 2011-06-02 08:02:29 -07:00
Claes Mogren
73e6982b0f Added jshint detection 2011-05-30 21:05:49 +02:00
Martin Grenfell
0f25c3ed26 Merge pull request #38 from kstep/master
UTF-8 flag for (X)HTML + syntax errors underline for Python files
2011-05-24 18:58:37 -07:00
Martin Grenfell
b928d6cb7b Merge pull request #34 from baldo/master
Added support for .lhs files
2011-05-06 02:29:43 -07:00
Konstantin Stepanov
30a579c04e highlight php errors 2011-05-03 15:37:30 +03:00
Konstantin Stepanov
974bcfc5c7 python errors highlight standardized 2011-05-03 15:37:15 +03:00
Konstantin Stepanov
bdf048a991 python syntax: don't check for grep 2011-05-03 15:36:49 +03:00
Konstantin Stepanov
9cc9851069 lua error highlighting standardized 2011-05-03 15:36:19 +03:00
Konstantin Stepanov
7a7e889956 implemented lua error highlights 2011-05-03 02:22:51 +03:00
Konstantin Stepanov
1be59e81e6 fixed incorrect python errors 'col' tests 2011-05-03 02:22:27 +03:00
Konstantin Stepanov
c028ee5bd0 determine tidy's encoding option by vim's &fenc
Thanks blueyed (https://github.com/blueyed) for advice
(https://github.com/scrooloose/syntastic/pull/38#commitcomment-362382).
2011-04-29 18:48:03 +03:00
Eivind Uggedal
e71df80fa1 Syntax checker for Puppet manifests. 2011-04-28 08:48:54 +02:00
Konstantin Stepanov
cd07b70f94 highlight errors 2011-04-21 22:54:59 +03:00
Konstantin Stepanov
8c5bf3afbd syntastic python: highlight identificators with errors 2011-04-21 22:54:59 +03:00
Konstantin Stepanov
172a64916d syntastic (x)html: utf8 tidy flag 2011-04-21 22:54:59 +03:00
Andreas Baldeau
122e1d7e3b Literate Haskell support now in haskell.vim. 2011-04-14 23:57:47 +02:00
Andreas Baldeau
a2a9b5ed8a Added support for literate haskell files. 2011-04-14 23:43:55 +02:00
Julien Blanchard
ed7a0fb05d Updated less.vim so that it doesn't generate a CSS file when checking syntax 2011-03-16 11:45:55 +01:00
Martin Grenfell
2c2f64fee3 tcl checker: fix a small typo 2011-02-27 00:30:02 +13:00
et
4a8f14ebc1 Add tcl syntax checker 2011-02-24 15:41:35 -05:00
Martin Grenfell
09d0a091f0 move the syntastic_jsl_conf option out of the core plugin
Move this variable out of syntastic.vim since we dont the core plugin
shouldn't know any details of how the individual syntax checkers work.
2011-02-15 19:49:13 +13:00
Bryan Forbes
5bc6c2226f Added option to pass a config file to jsl. 2011-02-14 20:59:35 -06:00
Martin Grenfell
db90009a11 less checker: make it handle the new lessc output as well 2011-02-13 14:07:42 +13:00
Martin Grenfell
5dfedf994f less checker: convert it to use errorformat/makeprg
this way we can add new expressions to errorformat to upgrade to
the latest lessc output while preserving backwards compatibility
2011-02-13 14:06:50 +13:00
Martin Grenfell
056fb50d77 eruby checker: escape % chars in the sed expression
Looks like vim was expanding these to the filename of the buffer.
2011-02-10 22:56:41 +13:00
Martin Grenfell
65327a7fd7 Merge remote branch 'changa/master' 2011-02-10 22:46:12 +13:00
kongo2002
f9853e6c00 don't trust pkg-config exit code 2011-02-09 20:02:48 +01:00
kongo2002
c75689037d search for gtk and glib separately 2011-02-09 19:58:56 +01:00
kongo2002
62628964b5 improve lacheck errorformat 2011-02-09 04:45:40 +08:00
kongo2002
d77f9f5c7c haml: small regex tune 2011-02-09 04:45:13 +08:00
kongo2002
3ce9edb5fd extend ruby errorformat 2011-02-09 03:28:24 +08:00
kongo2002
1a1593a6fd don't set RUBYOPT on windows 2011-02-09 03:28:24 +08:00
kongo2002
85f11ca138 improve c errorformat 2011-02-07 03:39:29 +08:00
Aman Gupta
7e9456ebb9 Add support for Sass 3.x and Compass imports 2011-02-07 03:36:08 +08:00
Dominique Rose-Rosette
b6bfca9701 Braindead "fix" for Rails 3's eruby sytax
Rails 3 ships with its own version of Erb. Plain old Erb barfes on things like
<%= form_for ... do %> instead of old <% form_for ... do %>

For the moment, let's use sed to filter out this case. Dirty kludge, but that
will do for now.
2011-02-03 12:48:12 +01:00
marty
7e183dd2e2 update my email in the docbk checker 2010-12-26 11:52:17 +13:00
Tim Pope
e394db20fa Add DocBook syntax checker 2010-12-26 06:50:53 +08:00
Harley Pig
c9a23c0bdb allow for custom perl efm program 2010-12-26 06:32:39 +08:00
bmihelac
f874e9dc89 fix for #13 2010-12-26 06:32:13 +08:00
marty
b8fbc338ce fix a comment typo in the less syntax checker 2010-12-09 13:09:29 +13:00
Julien Blanchard
4dbca32dfa LESS CSS syntax checker 2010-12-09 08:07:53 +08:00
Julien Blanchard
e1e327d5a3 WIP: less syntax checker 2010-12-09 08:07:52 +08:00
kongo2002
c76531336e c syntax_checker: major performance improvements 2010-10-23 03:39:42 +08:00
kongo2002
f57fcb4160 c syntax_checker: add current and parent directory to includes 2010-10-23 03:39:41 +08:00
Lincoln Stoll
8dfedc98b9 Update coffee error format 2010-10-13 18:22:38 +08:00
Lincoln Stoll
b643ab10de First cut at coffee script checker 2010-10-13 18:22:37 +08:00
Eric Naeseth
3005301b5d Suppress Tidy warnings and errors for new HTML5 elements. 2010-10-13 18:20:47 +08:00
marty
83b4fc6220 properly parse c++ errors that contain col nums 2010-10-04 10:37:08 +13:00
Jeremy Cantrell
4cedcf3ee7 Too many '.' 2010-09-26 04:21:27 +08:00
kongo2002
c94e60fa5f fix multi-line expression 2010-09-25 14:26:56 +08:00
kongo2002
f822e3a9ca fine-tune c errorformat 2010-09-25 14:26:55 +08:00
kongo2002
2e028581f0 add bufnr and error type to lua syntax checker 2010-09-25 14:26:54 +08:00
kongo2002
53195a4ab4 add lua syntax checker 2010-09-25 14:26:53 +08:00
Jeremy Cantrell
c61890f1b7 Properly escape % for makeprg 2010-09-24 10:48:49 +08:00
kongo2002
2679a8ce6a fix php errorformat 2010-09-24 09:18:23 +12:00
kongo2002
e45183a71d c syntax_checker: fix php extension 2010-08-13 05:56:53 +08:00
Joël Perras
0570e0605d C syntax checker: add PHP extension support. 2010-08-13 05:56:52 +08:00
kongo2002
ac5f550a80 c syntax_checker: rename option 2010-08-03 18:32:00 +08:00
kongo2002
7cc4ead065 c syntax_checker: improve option check 2010-08-03 18:31:59 +08:00
kongo2002
fe69005a9a c syntax_checker: modify documentation 2010-08-03 18:31:58 +08:00
kongo2002
15e3fd54ae c syntax_checker: cache header includes by default 2010-08-03 18:31:57 +08:00
marty
a4b0399e22 parse php "fatal errors" properly 2010-07-27 15:02:39 +12:00
marty
7ed510560e fix broken php checker 2010-07-27 15:02:39 +12:00
kongo2002
0de9db82b4 c syntax_checker: add support for sdl/opengl 2010-06-24 13:20:07 +08:00
kongo2002
33545a47b4 c syntax_checker: add further library handlers 2010-06-24 13:20:07 +08:00
kongo2002
b4f7a6e061 c syntax_checker: add WebKitGtk+ support 2010-06-24 13:20:06 +08:00
kongo2002
6c0ddde164 c syntax_checker: add libsoup support 2010-06-24 13:20:05 +08:00
kongo2002
faef18d981 c syntax_checker: modify 'pkg-config' handler 2010-06-24 13:20:05 +08:00
kongo2002
5166c7f26e make wrapping possible by resetting 'cpo' 2010-06-24 13:20:03 +08:00
kongo2002
4089f7d82e c syntax_checker: match case 2010-06-24 13:20:01 +08:00
kongo2002
101955648e c syntax_checker: add support for glade 2010-06-24 13:20:01 +08:00
kongo2002
bd93029eb9 c syntax_checker: add support for python headers 2010-06-24 13:20:00 +08:00
kongo2002
de2b206ee7 c syntax_checker: add buffer local variable for custom cflags 2010-06-24 13:20:00 +08:00
kongo2002
d4f5aea34d c syntax_checker: setting to toggle include search 2010-06-24 13:19:59 +08:00
kongo2002
b3a0ab8014 c syntax_checker: remove unused variable 2010-06-24 13:19:58 +08:00
kongo2002
232e7242a8 c syntax_checker: catch error on readfile() 2010-06-24 13:19:58 +08:00
kongo2002
71a983011e c syntax_checker: search included files as well 2010-06-24 13:19:57 +08:00
kongo2002
07c33996e7 modify search for c header includes 2010-06-24 13:19:57 +08:00
kongo2002
03c89ebbad add check for ruby headers 2010-06-24 13:19:56 +08:00
kongo2002
e3c9e094d7 strip newline from pkg-config output 2010-06-24 13:19:56 +08:00
Robert Wahler
9515ebacab tone down ruby warnings to W1 (medium)
This avoids the "useless use of == in void context"
warning common in rspec spec files.
2010-06-24 13:11:54 +08:00
Jeremy Cantrell
5f775a452c Fixed shebang detection for multiple buffers 2010-06-24 13:05:07 +08:00
marty
f2b98a8426 add latex syntax checker 2010-06-02 16:23:09 +12:00
marty
2926533fd7 make the sass checker handle warnings too 2010-05-10 16:10:22 +12:00
kongo2002
8f26fe8720 check for glib as well 2010-02-19 09:45:04 +08:00
kongo2002
84125b40ed add support for gtk headers 2010-02-19 09:44:45 +08:00
kongo2002
7d6452a15f recognize '#!/bin/sh' as well 2010-02-19 09:44:45 +08:00
Jeremy Cantrell
6788c8513a User's shell was being used instead of the one specific to the filetype 2010-02-19 09:44:18 +08:00
kongo2002
0b157baa96 change maintainer of c/cpp/sh syntax checker 2009-12-23 04:11:40 +08:00
kongo2002
9d1438bbae add short explanation for c/cpp header file checking 2009-12-23 04:11:39 +08:00
kongo2002
923ab75e9c added cpp syntax checker 2009-12-23 04:11:39 +08:00
kongo2002
4dbe8baf4d added possibility to check header files 2009-12-23 04:11:38 +08:00
kongo2002
2aae51681b use gcc -fsyntax-only instead 2009-12-23 04:11:38 +08:00
kongo2002
ee5df45e5e added simple syntax checker for c files 2009-12-23 04:11:37 +08:00
kongo2002
bcbb485f7a added some shellescape() 2009-12-23 04:11:37 +08:00
kongo2002
5ae0aaab58 process all lines given by bash output 2009-12-23 04:11:37 +08:00
kongo2002
5ccfddf7b7 check for bash or zsh 2009-12-23 04:11:36 +08:00
kongo2002
bc087ce754 first try on shell syntax checker 2009-12-23 04:11:36 +08:00
marty
5ad3cd67c1 change my email to gmail, hotmail licks ass crack 2009-12-16 23:02:36 +13:00
marty
2b296d4e80 add an xhtml syntax checker 2009-11-26 17:53:44 +13:00
Anthony Carapetis
adb375c380 added perl syntax checker 2009-11-24 18:33:47 +08:00
Anthony Carapetis
d87fe1ee46 first commit of haskell.vim 2009-11-24 17:32:26 +08:00
Tim Pope
5184c3fb73 First draft of a Cucumber syntax checker 2009-09-17 20:18:28 +12:00
Tim Pope
9c5553c167 Add another jsl warning format
Some warnings don't include the word lint, like the warning from

  function(x) { var x; }
2009-09-13 12:42:11 -04:00
Tim Pope
0e1c82686c Really don't load rubygems when checking eruby 2009-09-13 12:35:55 -04:00
marty
f3fdaccc38 make sure we dont load rubygems when syntax checking [e]ruby 2009-09-13 18:33:03 +12:00
Martin Grenfell
20c741b56c add python syntax checker (fairly ghetto atm) 2009-07-29 22:26:33 +12:00
Martin Grenfell
def9226891 update the javascript syntax checker
make it differentiate between errors and warnings
2009-07-27 14:59:37 +12:00
Martin Grenfell
77f428295a add gavings javascript syntax checker 2009-07-27 14:30:07 +12:00
Martin Grenfell
af1a7b89a1 return an error type for sass/haml checkers 2009-07-22 11:48:22 +12:00
Martin Grenfell
e9c992da05 dont run php code through tidy for now
need to figure out how to make tidy play nicely with the php sections
...  not sure if its even possible
2009-07-16 22:54:10 +12:00
Martin Grenfell
1adfa4db5c make the syntax checkers use SyntasticMake 2009-07-15 21:29:28 +12:00
Martin Grenfell
0d7309330d run php files through tidy as well 2009-07-15 20:49:05 +12:00
Martin Grenfell
f5c6f22094 add php syntax checker 2009-07-15 13:57:18 +12:00
Martin Grenfell
3debc6537e use -w as well when checking ruby syntax 2009-07-14 14:19:11 +12:00
Martin Grenfell
0c35ca4416 use lmake instead of make 2009-07-14 09:53:36 +12:00
Martin Grenfell
33fd1d9cd8 use location list instead of quicklist 2009-07-13 23:12:18 +12:00
Martin Grenfell
00f8718f6e check the user has grep installed for html checker 2009-07-12 01:38:28 +12:00
Martin Grenfell
24c7724fea add an html syntax checker 2009-07-12 00:56:07 +12:00
Martin Grenfell
a338e4b375 add blurb to top of eruby syntax checker 2009-07-11 19:11:31 +12:00
Martin Grenfell
08dbc2995d add syntax checkers eruby, sass and haml 2009-07-11 19:09:20 +12:00
Martin Grenfell
17434a6b0d make ruby recognise warnings as well as errors 2009-07-11 19:06:48 +12:00
Martin Grenfell
6885b2ecd9 dont treat "Syntax OK" for ruby syntax checker 2009-07-11 16:47:57 +12:00
Martin Grenfell
04b312b0fd add a comment block to the top of the ruby syntax checker 2009-07-11 16:03:58 +12:00
Martin Grenfell
ad555bc093 correct &errorformat for ruby 2009-07-11 15:56:48 +12:00
Martin Grenfell
20f7bb0d10 initial hacks 2009-07-11 11:09:52 +12:00