Commit Graph

433 Commits

Author SHA1 Message Date
Martin Grenfell
b4e7f8598a puppet checker: only check the version once
Previously it was calling `system()` to check the puppet version on
every syntax check. Now we do this only once and cache the result.
2012-02-08 13:40:02 +00:00
Martin Grenfell
6ffdf6ead9 Merge pull request #168 from zsprackett/puppet-version-fix
Make this work with releases > 2.7
2012-02-08 05:32:33 -08:00
Martin Grenfell
2b514d84bd Merge pull request #158 from technosophos/master
Support for subtypes
2012-02-07 08:31:54 -08:00
S. Zachariah Sprackett
d0a7546f1e Make this work with releases > 2.7 2012-02-07 11:27:32 -05:00
Matt Butcher
51a9e96e20 Per #158 (and #155): Turning empty() check back on. 2012-02-07 09:58:00 -06:00
Martin Grenfell
fa1084cf8f DRY up the code that loads checkers when multiple exist
Javascript and json have multiple syntax checkers that can be loaded.
Previously the logic to determine which checker to load was basically
copied and pasted in both. The `go` checker will soon have more
than one option too so remove the duplication by sticking the
common code in the core.
2012-02-06 17:46:08 +00:00
Martin Grenfell
ad1481c2ce Merge pull request #152 from irrationalfab/master
Improved less fix
2012-02-01 09:33:24 -08:00
Anthony Carapetis
d4683b39f0 bugfix from Michael Ludwig for VIMRUNTIME paths with spaces (e.g. on windwos) 2012-02-01 14:49:21 +11:00
Matt Butcher
8df5c3bcdc Added support for error/warning subtyping. 2012-01-27 13:43:48 -06:00
Mitchell Hashimoto
c6d464bb62 Python executable check should use the variable, not a string 2012-01-26 11:29:07 -08:00
AD7six
7fedd203e7 only run phpcs if the file has no syntax errors.
running phpcs on a file which contains a parse error generates a huge
number of warnings from the phpcs library. This can freeze vim for
minutes at a time while it attempts to parse these
notices/warnings/errors.

Therefore - don't run phpcs on files which have parse errors.
2012-01-25 12:28:54 +01:00
Fabio
1724155881 less: improved errorformat for v1.2
* previous version would skip "NameError" and potentially other errors
* introduced support for the capture of the error message
2012-01-19 19:28:18 +01:00
Martin Grenfell
fe5b8989af less: simplify 1.2 errorformat and split errorformat up
* remove some unneeded escaping of spaces and colons from the 1.2
  errorformat
* split the pre and post 1.2 errorformats up and comment them for future
  clarity
2012-01-19 13:01:12 +00:00
Martin Grenfell
42ea3426d1 cuda: simplify/fix the executable checking
Remove the g:syntastic_nvcc_binary option as this should be in the users
path - or at least symlinked in. Also, the logic was broken in that the
script was hardcoded to only accept '/usr/local/cuda/bin/nvcc' as the
binary anyway.
2012-01-19 12:47:48 +00:00
Martin Grenfell
ae5171e453 Merge pull request #147 from irrationalfab/master
less fix
2012-01-18 08:55:51 -08:00
Martin Grenfell
74d45605e5 Merge pull request #145 from darcyparker/master
shellescape(expand()) the filename passed
2012-01-18 05:31:31 -08:00
Martin Grenfell
f521a0c0ee Merge pull request #143 from edwintorok/master
Add ocamlbuild support to ocaml.vim
2012-01-18 05:25:45 -08:00
Martin Grenfell
3dfcd1ab2b Merge pull request #149 from AD7six/patch-1
Use the default coding standard which phpcs is configured to use
2012-01-18 05:22:19 -08:00
Török Edwin
331e821a01 ocaml: only run ocamlbuild if _build already exists 2012-01-16 16:42:01 +02:00
Török Edwin
c7380d7ab4 drop locaml syntax
there is no such syntax, copy+pasto error.
2012-01-16 16:27:35 +02:00
Török Edwin
cb1d8c12ce ocaml syntax: handle warnings and ignore some ocamlbuild messages 2012-01-16 16:27:21 +02:00
Andy Dawson
4b68c72506 Use the default coding standard which phpcs is configured to use
see http://pear.php.net/manual/en/package.php.php-codesniffer.config-options.php#package.php.php-codesniffer.config-options.php-codesniffer.default-standard
2012-01-16 15:11:20 +01:00
Parantapa Bhattacharya
a01332f54e Add support for pylint
Make pylint one of the available syntax checkers for python in
addition to flakes8 and pyflakes.
2012-01-15 22:46:47 +05:30
Fabio
7e8ab5f636 Error format fix for less files
Added errorformat because the output of lessc was not correctly
recognized in my system (maybe lessc errors changed in the last update)
2012-01-15 05:24:17 +01:00
Darcy Parker
3989481ba3 shellescaped(expand()) the filename passed to xmllint 2012-01-13 11:26:11 -05:00
Darcy Parker
10bc9fea44 shellescaped(expand()) the filename passed to coffee 2012-01-13 11:25:48 -05:00
Török Edwin
7df01d8566 Add ocamlbuild support
Enabled with 'let g:syntastic_ocaml_use_ocamlbuild = 1' in .vimrc,
also creates .annot files for <Leader>t.
Not enabled by default because it writes to disk (_build dir).
2012-01-13 17:59:02 +02:00
Martin Grenfell
2616623bb9 xml/xslt: shellescape() the filename that is passed it
previously, checking an xml/xslt file called "foo bar.xml" would fail
2012-01-13 15:31:36 +00:00
Martin Grenfell
469e4efd0a Merge pull request #142 from darcyparker/18834a35877b756049b0c241de750d8e17f0eff0
A cleaner fix for wrapping makeprg's arguments that have spaces.
2012-01-13 07:15:26 -08:00
Darcy Parker
18834a3587 Wrapped arguments with spaces that were previously wrapped in single
quotes with shellescape().  cmd.exe on win32/64 does not recognize
single quotes properly.  shellescape() correctly wraps arguments with
spaces using double quotes on win32/64.
2012-01-13 09:34:40 -05:00
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
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