Commit Graph

228 Commits

Author SHA1 Message Date
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
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
Roman Gonzalez
d3317aefdc Modifying the syntax_checker for Haskell
Currently it was having some '{' '}' keys without a space
separator, causing some terminals to crash. This should
solve this issue.
2011-10-13 09:39:33 -07:00
Roman Gonzalez
09a63b2160 Updating the haskell syntax checker
The previous implementation was crashing the make vim utility, after
saving it was required to use :redraw! in order to keep using the editor.

After a lot of investigation, I realized that the use of && in commands is not
of the like to the :make vim utility.

The use of the && command was updated with "{ commad1; command2 }" approach,
this way we got the result we wanted without any obnoxious side effect.
2011-10-11 15:27:11 -07:00
Nate Jones
612225d9be don't break when efm_perl.pl isn't executable 2011-09-09 17:44:59 -07: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
Serge Van Meerbeeck
6c6384ac17 Added conditional check on Windows, and adapted makeprg so that it works correctly (tested on Windows7) 2011-08-28 20:50:14 +02:00
Karl Yngve Lervåg
c7fd914fb4 Added syntax checker for fortran. 2011-08-23 23:56:50 +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
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
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