Commit Graph

757 Commits

Author SHA1 Message Date
Martin Grenfell
10e6fe51f0 add locaml checker and make it alias ocaml
Move the locaml->lcaml alias function out of the ocaml checker as this
code wont be loaded for locaml files - only syntax checkers for filetype
that are in use get sourced
2012-01-13 12:16:31 +00:00
Martin Grenfell
f7072dd0ff ocaml: fix mixed indenting
indent with spaces only, and consistently use 4 spaces
2012-01-13 12:11:43 +00:00
Török Edwin
d5cee024e9 add OCaml syntax checker 2012-01-13 14:00:53 +02:00
Darcy Parker
8ddb0037af Fixed makeprg for win32 and win64 to use double quotes instead of single quotes. Now tidy can be executed properly. 2012-01-12 15:38:09 -05:00
James Pickard
c27c510d4e Correct typo in email address 2012-01-11 12:35:56 -05:00
James Pickard
6ba4b3e435 Moving nagelfar.tcl.vim to nagelfar.vim - it is probably more likely to be using the binary than the TCL script. 2012-01-11 12:33:20 -05:00
James Pickard
e455bb1d0a Initial commit, adds support for nagelfar TCL syntax checker and moves the tclsh syntax checker into a tcl directory. 2012-01-11 11:53:56 -05:00
James Pickard
45738010af Initial commit, adds support for nagelfar TCL syntax checker and moves the tclsh syntax checker into a tcl directory. 2012-01-11 11:49:13 -05:00
Martin Grenfell
4d957c8658 sass: fix a bug with imports
Only cache the imports when the syntax checker is first loaded. Also,
there was a bug in the logic that was causing the imports to be set to
"" on the second run.

Make the imports var script local since we are not allowing users to
change it.
2012-01-11 16:31:56 +00:00
Brian Mattern
9335b9dca5 missing 'let' in fortran.vim 2012-01-06 17:07:58 -08:00
Martin Grenfell
c05a36f66c jslint: update for jslint 0.1.4 2012-01-06 19:06:47 +00:00
Martin Grenfell
cd99a2d084 haxe: remove a stray echo and fix a function name
rename Find_in_parent to FindInParent for consistency and make it local
to the script
2012-01-06 18:20:04 +00:00
Martin Grenfell
c2b5cd1686 haxe: make the indentation consistent 2012-01-06 18:14:43 +00:00
David Bernard
47dcc47980 haxe: update Maintainer 2011-12-28 22:19:12 +01:00
David Bernard
78e1ea2b34 add basic support for haxe 2011-12-28 22:12:45 +01:00
Aleksey V Zapparov
0d4a99c31b Updates js-yaml installation comment 2011-12-24 22:26:33 +01:00
Martin Grenfell
d949b9415e yaml: remove a stay line
This should never have been added - just a debugging leftover
2011-12-24 17:51:58 +00:00
Martin Grenfell
ab1906e72e add yaml syntax checker 2011-12-24 13:18:18 +00:00
Martin Grenfell
58cd0d340c update the javascript/jslint syntax checker
The jslint guys have changed their error format again. Update the syntax
checker to handle it.

Currently jslint outputs a "use strict" error if a function doesnt have
'use strict' at the top. This is not good for our purposes, so just
filter this out for now.
2011-12-23 23:09:03 +00:00
kongo2002
fc987cead3 parse haskell error and warning tags 2011-12-18 21:26:39 +01:00
kongo2002
138e48c275 C: readd default include dirs 2011-12-18 19:05:40 +01:00
kongo2002
18073102b3 C: option to remove errors from included files (#70) 2011-12-18 18:59:24 +01:00
kongo2002
5accceb04a C: add some explanatory comments 2011-12-18 18:25:07 +01:00
kongo2002
309652c840 C: modify the default include directories 2011-12-18 18:24:28 +01:00
kongo2002
58e65d99a4 C: remove duplicates in include directories 2011-12-18 18:09:27 +01:00
Martin Grenfell
26b5bb871c Merge remote-tracking branch 'millermedeiros/jsonlint'
Conflicts:
	doc/syntastic.txt
2011-12-18 13:43:50 +00:00
millermedeiros
dca9e450a2 add millermedeiros as maintainer of JSON syntax checker. 2011-12-18 11:06:09 -02:00
millermedeiros
e4adda29f7 fix jshint checker since it was ignoring jshintrc configs. 2011-12-16 16:28:24 -02:00
millermedeiros
2698e26e71 add json syntax checker. see #74.
still need to wait for zaach/jsonlint#15 before merging into master.
2011-12-16 14:22:20 -02:00
Martin Grenfell
d14b53e903 Merge pull request #122 from JNRowe/rst_checker
Added basic reStructuredText checker.
2011-12-14 06:30:50 -08:00
James Rowe
7539eacb81 Added basic reStructuredText checker. 2011-12-14 14:22:59 +00:00
James Rowe
b1321422c8 Added note on speeding up validation to XML checker. 2011-12-14 13:58:44 +00:00
James Rowe
a2088eb2ff Added basic Gentoo metadata.xml checker. 2011-12-14 13:58:20 +00:00
Martin Grenfell
3c1a8266eb Merge pull request #119 from technosophos/master
Added the --standard=Zend flag as default
2011-12-13 08:26:25 -08:00
Matt Butcher
e3c2b95b94 Added default setting to php.vim.
Changed the default standard to Zend, which is the most forgiving
of the out-of-the-box syntaxes.
2011-12-13 10:20:07 -06:00
Martin Grenfell
394d129b55 refactor the javascript syntax checkers
The js syntax checker was 4 checkers stuffed into 1 file. Now it is
broken down so that each checker is in its own file inside
syntax_checkers/javascript/ while syntax_checkers/javascript.vim just
determines which file to source.

Change the names of the global js checker config variables so that
they all start with "syntastic_javascript_". This is purely for
namespacing.

Remove some unneeded logic around the config variables too. Not sure how
it got in there, but it was more confusing than helpful without offering
any benefits...
2011-12-11 22:54:33 +00:00
Martin Grenfell
8dba3fe0b5 less checker: update the error format for the latest version
I installed the latest version of lessc and they have modified their
output slightly. Update the errorformat for this.

Also, they new output is colorized by default. So I have added an option
to specify args to the checker that currently defaults to "--no-color".
This means that if people want to use an older version of lessc, they
will need to reset this option to an empty string.
2011-12-11 14:33:44 +00:00
Martin Grenfell
0af738a59a less checker: fix a syntax error
ironic?
2011-12-11 14:32:53 +00:00
Zhao Cai
6a7529713b 0.2.1 - remove g:syntastic_applescript_tempfile. use tempname() instead. 2011-12-09 13:11:45 -05:00
Zhao Cai
2302f12367 add applescript syntax_checker 2011-12-09 10:32:39 -05:00
Martin Grenfell
da78242123 add an option to SyntasticMake to specify defaults
Many of the syntax checkers were setting the 'bufnr' key for each
error manually and one was setting 'text' if it didnt exist too.

Add the 'defaults' option to SyntasticMake to set default values in the
returned error list - it only sets values if they are empty.
2011-12-09 13:47:42 +00:00
Martin Grenfell
8ca2028f3e javascript checker: make jshint 0.5.3 work 2011-12-09 12:40:42 +00:00
Martin Grenfell
a97b9eaba8 Merge pull request #81 from millermedeiros/master
improve support for HTML5 attributes
2011-12-08 23:40:55 -08:00
Martin Grenfell
70166f4ac6 javascript checker: make the jslint checker work again
Add a highlight function too.
2011-12-08 20:24:54 +00:00
Martin Grenfell
3defb627a5 php checker: add an option to disable phpcs 2011-12-07 14:13:18 +00:00
Martin Grenfell
6b6e2d1d37 php checker: ignore the csv headers in the phpcs errorformat 2011-12-07 14:03:57 +00:00
Martin Grenfell
e0ec1a3318 refactor the php checker
* move the phpcs code into its own function
* just use g:syntastic_phpcs_conf instead of initing a local var every
  time the checker is invoked
2011-12-07 14:03:57 +00:00
Matt Butcher
b21ddb5283 Added g:syntastic_phpcs_conf to allow phpcs flags.
PHPCS has a wide variety of commandline flags, including
support for various syntaxes. These must be configurable,
otherwise phpcs generates a high number of spurious errors for
code written to any standard other than the PEAR standard.
2011-12-07 14:03:57 +00:00
millermedeiros
6982c38b88 filter HTML5 warnings without using grep. see #53. see #81. 2011-12-07 11:14:18 -02:00
millermedeiros
10c0c34d80 improve support for HTML5 attributes and refactor html.vim logic to allow adding new grep rules easily. see #53 2011-12-07 11:14:18 -02:00
Martin Grenfell
1ce4d31930 fix a bug with the sh checker 2011-12-05 15:07:22 +00:00
Martin Grenfell
ae9f45cf4a fix a small bug with the sh syntax checker and refactor
Previously, if we edited a new bash script then we would have to wipeout
the buffer and recreate it to get syntastic to recognise it as a bash
script. This is because it parsed out a magic number and cached that -
and it trivially fails to find a magic number when you create a new
file.

So recheck for a magic number if it is currently empty.

Also, do a small refactor.
2011-12-04 02:28:21 +00:00
Martin Grenfell
ea7d9779f0 update the gjslint javascript checker
This was missing errors like this:

/tmp/foo.js:1:(-002) Error parsing file at token ")". Unable to check the rest of file.

The reason is because of the minus sign in front of the 002. It is using
%m to match that, which appears to only match positive numbers - so just
ignore the minus sign.
2011-12-04 02:14:24 +00:00
Martin Grenfell
62ef08d334 make a fix to the coffee checker
This is in response to #88 where errors like this were getting missed:

SyntaxError: In simpleMapComponent.js.coffee, Reserved word "function" on line 10
 at SyntaxError (unknown source)
 at Lexer.identifierError (/usr/lib/node_modules/coffee-script/lib/lexer.js:458:13)
 at Lexer.identifierToken (/usr/lib/node_modules/coffee-script/lib/lexer.js:80:16)
 at Lexer.tokenize (/usr/lib/node_modules/coffee-script/lib/lexer.js:31:19)
 at Object.compile (/usr/lib/node_modules/coffee-script/lib/coffee-script.js:29:34)
 at /usr/lib/node_modules/coffee-script/lib/command.js:149:33
 at /usr/lib/node_modules/coffee-script/lib/command.js:115:26
 at [object Object].<anonymous> (fs.js:107:5)
 at [object Object].emit (events.js:61:17)
 at afterRead (fs.js:878:12)

To fix this I have added another error matcher on the front of the
errorformat and have made a fix to the %-G matcher on the end (i.e. it
wasnt actually matching anything before).

The errorformat may need more updating.
2011-12-04 01:40:12 +00:00
Martin Grenfell
092c7cdb19 fix for erlang syntax checker
dont hardcode the path of the checking script
2011-12-02 10:38:11 +00:00
Martin Grenfell
319b8f2cb8 shift all the c helper functions into their own autoload lib file
This is mainly just for namespacing purposes and to set a pattern for
future helper lib functions.
2011-11-30 22:13:16 +00:00
Martin Grenfell
965b3b7203 move the highlighting/balloon code into the main plugin file
In future I may move most of the code out into an autoload file, but in
the meantime I want all the code tidy and in one place for the next
release
2011-11-30 19:23:31 +00:00
Martin Grenfell
fc6e785a4e sass: remove the bufnr hacks and ignore some irrelevant output
We dont need to manually hack the bufnr for each entry in the loc list
since that the error output includes a file name.

Ignore the last line of the error message since it seems to always just
be "use --trace for a backtrace"
2011-11-29 09:16:40 +00:00
Martin Grenfell
4fbec5fdbd move the scss checker out of the sass checker
Just load the sass checker and call off to that - dont duplicate the
code as it previously was.
2011-11-29 09:11:08 +00:00
Martin Grenfell
12c9c334b1 fix a typo in the erlang syntax checker 2011-11-27 21:47:26 +00:00
Martin Grenfell
950dc1a6e5 apply kTT's patch to fix the erlang syntax checker 2011-11-27 21:43:44 +00:00
Pawel 'kTT' Salata
6fab5bf5ab Syntax checking for erlang 2011-11-27 21:39:48 +00:00
Martin Grenfell
3c26740b28 js checker: let the user configure which checker to use
Add the g:syntastic_javascript_checker option so the user can specify
which javascript syntax checker to use. If none is specified then just
use the first syntax checker we find installed.
2011-11-27 01:25:51 +00:00
Martin Grenfell
e7be5101e8 Merge pull request #107 from zsprackett/puppet-syntax-fix
Need this on new puppet as well
2011-11-25 01:44:06 -08:00
S. Zachariah Sprackett
4b0888740e Need this on new puppet as well 2011-11-24 22:48:56 -05:00
Martin Grenfell
b75b836e5e Merge pull request #78 from sergevm/master
Update of eRuby checker for Windows OS
2011-11-24 15:56:51 -08:00
Martin Grenfell
3be983469e Merge pull request #86 from justone/allow_non_executable_efm_perl_pl
don't break when efm_perl.pl isn't executable
2011-11-24 15:55:15 -08:00
Martin Grenfell
05667205a9 Merge pull request #76 from lervag/master
Added support for Fortran
2011-11-24 15:53:46 -08:00
Martin Grenfell
67a2d99da7 Merge pull request #92 from roman/master
Updating the haskell syntax checker
2011-11-24 15:39:57 -08:00
Fjölnir Ásgeirsson
3826391e7d Changed the C syntax checker to use GNU99 (as opposed to GNU89).
Conflicts:

	syntax_checkers/c.vim
2011-11-24 23:30:40 +00:00
Martin Grenfell
dc485b8389 Merge pull request #98 from docteurklein/phpcs
added phpcs support
2011-11-24 15:17:52 -08:00
Clayton Parker
1cb56c8bb4 Add support for Zope Page Template syntax checking using zptlint 2011-11-24 23:12:36 +00:00
Martin Grenfell
8a1f3b8dd2 Merge pull request #104 from soli/master
Allow the use of flake8 (http://pypi.python.org/pypi/flake8) instead of pyflakes to check python code
2011-11-24 15:02:56 -08:00
S. Zachariah Sprackett
239aed5c09 Add --ignoreimport to puppet parse 2011-11-23 14:59:07 -05:00
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
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
Klein Florian
22fedb5350 added phpcs support 2011-10-28 11:35:03 +02: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
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
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