Tom Jakubowski
56d1935dd2
Ignore tidy warning about "search" value for <input> type attribute
2012-12-24 04:30:42 -06:00
troydm
e25a3efa33
javac checker path seperator related bugfix added
2012-12-19 17:43:08 +04:00
troydm
b476114461
added config file support for javac checker and windows os support
2012-12-19 17:23:58 +04:00
Martin Grenfell
7353b32d77
perl: add -Tc to makeprg if the shebang contains -T
...
If the shebang contains -T, then the makeprg looks like:
perl '/path/to/efm_perl.pl' -c -w '/tmp/foo.pl' -Tc
Mods to syntastic#util#ParseMagicNumber
* rename it to ParseShebang (since this name seems more common)
* return an empty result set rather than 0 so callers dont have to
check if empty()
2012-12-18 09:38:33 +00:00
Florent Bruneau
29d5b88e27
c/c++: force language in compiler invocation.
...
That way, the files are properly treated as C/C++ even when they don't
have the standard file extension
Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>
2012-12-16 18:44:20 +01:00
Florent Bruneau
4b0b81cddc
c/c++: add an option to ignore default include dirs.
...
Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>
2012-12-16 18:44:20 +01:00
Florent Bruneau
91f3af2862
c: allow using clang to check C.
...
Since clang as a interface compatible with gcc's, use the gcc backend for
both.
Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>
2012-12-15 13:41:23 +01:00
Martin Grenfell
163d5fb370
php: add a bit of doc at the top
2012-12-05 23:34:13 +00:00
Adam Fairbrother
c253e3e4d9
Update syntax_checkers/efm_perl.pl
...
Added a semi colon in that broke perl syntax checking.
2012-12-05 12:57:47 -08:00
Martin Grenfell
fc4ec2533c
Merge branch 'load_any_checker'
2012-12-04 09:33:34 +00:00
Martin Grenfell
2c0abf4515
perl: fix some comments that got slightly screwed
2012-12-03 23:55:54 +00:00
notbugger
558de5a58c
Update syntax_checkers/efm_perl.pl
...
Use warnings pragma instead of warnings flag.
2012-12-03 15:42:31 -08:00
Martin Grenfell
42480a01a1
modify SyntasticLoadChecker to load any checkers present
...
Previously we were only loading "official" checkers that had been added
to syntastic. Now we load any checker that is in the right directory.
This allows anyone to add custom checkers to any filetype that uses
`SyntasticLoadChecker()`
2012-12-03 21:22:44 +00:00
Martin Grenfell
6d5a604251
Merge pull request #409 from jhickner/master
...
Add -fno-code to the call to ghc-mod, which speeds up haskell syntax checking
2012-12-03 03:02:39 -08:00
Martin Grenfell
11907f6907
Merge pull request #413 from jgrande/master
...
docbook checker: added quotes to args in expand() call
2012-12-03 01:59:09 -08:00
Martin Grenfell
d4e74d81d8
typescript: dont need to escape the space inside a string
2012-12-03 09:57:06 +00:00
Martin Grenfell
1b237eba14
Merge pull request #416 from jb55/typescript
...
Fix TypeScript errorformat for latest version of the compiler
2012-12-03 01:56:27 -08:00
Martin Grenfell
ac0c732f6a
Merge pull request #410 from dbarnett/loaded_flag
...
Set g:loaded_FOO_syntax_checker in syntastic.vim, not every ft file.
2012-12-03 01:52:23 -08:00
Bill Casarin
562a37adce
Support zero or more spaces at the end of a filename in the typescript errorformat
2012-12-01 21:07:51 -05:00
Artem Nezvigin
4126760bca
Add python checker that uses python itself
...
The advantage to this is that no 3rd party modules are required. People
new to Python probably won't have flake8/pyflakes/pylint installed. This
will get them basic syntax checking (no linting) out of the box.
2012-12-01 12:17:46 -08:00
Bill Casarin
7ceba36412
Fix typescript errorformat for latest version of the compiler
2012-11-30 10:13:12 -05:00
Juan Grande
45f5437088
docbook checker: added quotes to args in expand() call
2012-11-29 09:07:25 -03:00
David Barnett
dcac33ecc0
Set g:loaded_FOO_syntax_checker in syntastic.vim, not every ft file.
2012-11-26 21:44:43 -08:00
Jason Hickner
9f9204415b
fix typo
2012-11-23 16:20:04 -08:00
Jason Hickner
02ab1c9df0
add the -fno-code ghc option to speed up checking
...
Since we're only using ghc to check and lint the file and not actually create output, we can pass -fno-code which omits code generation and speeds up the check quite a bit.
2012-11-23 16:14:53 -08:00
Martin Grenfell
122e88b82a
Merge pull request #365 from coryf/erb-ruby-exec-setting
...
Add support for changing the ruby version for erb
2012-11-21 02:07:20 -08:00
Martin Grenfell
ccecbcb460
javascript/jsl: update conf flag option
...
Make it so you only have to set g:syntastic_javascript_jsl_conf to
"/path/to/conf" rather than "-conf /path/to/conf"
Closes #405
2012-11-19 22:20:29 +00:00
Martin Grenfell
deaa089884
sass checker: use sass's caching to speed up checking
2012-11-19 09:59:14 +00:00
Martin Grenfell
aba5dd4757
Merge pull request #393 from ChristophMartin/syntax_checkers/go
...
Fixes Golang Syntax Checker
2012-11-17 11:56:50 -08:00
Martin Grenfell
01340e4de3
Merge pull request #387 from marcparadise/erlang-otp-support
...
Add typical deps locations for includes
2012-11-17 09:18:46 -08:00
Martin Grenfell
0a7b21d602
Merge pull request #394 from jjimenezlopez/master
...
The warnings were shown as errors when using flake8
2012-11-14 11:50:55 -08:00
Martin Grenfell
d448f180e4
php checker: a bunch of refactors
...
* only check `executable()` for the sub checkers once - at the top of
the script
* recapitalize `s:getPHPMDErrors` to `s:GetPHPMDErrors` errors for
style consistency
* simplify the logic in `SyntaxCheckers_php_GetLocList`
2012-11-13 08:41:09 +00:00
Martin Grenfell
83611198b4
Merge pull request #395 from harijari/add-phpmd-support
...
Added support for phpmd qa tool at php filetype.
2012-11-13 00:32:15 -08:00
kongo2002
fd173f1c91
move haskell syntax checkers into separate subdir
2012-10-29 22:22:28 +01:00
kongo2002
6942425b44
Merge remote-tracking branch 'bitc/haskell-hdevtools'
2012-10-29 21:09:54 +01:00
Jarek Sobiecki
6040ab8d54
Added support for phpmd qa tool at php filetype.
2012-10-27 22:20:25 +02:00
Jose Jiménez
9504f526d4
The warnings were shown as errors when using flake8
2012-10-26 13:27:03 +02:00
Christoph Martin
7ffeb29915
drop 6g syntax checker
...
6g has been superseded by the go tool.
2012-10-26 12:38:14 +02:00
Christoph Martin
d3d00e4b70
use gofmt
before go [build|test]
...
`go build` might not catch syntax errors of the current file if another
file with syntax errors is compiled before the current one.
2012-10-26 12:28:04 +02:00
ghthor
96e0ce95b8
bugfix: use go test
for test files.
...
Test files are not compiled when invoking `go build`.
2012-10-26 12:23:00 +02:00
ghthor
90a4a0571d
bugfix: run go compiler from package directory
...
The compiler only works correctly if passed an import path or run from
the package directory, the latter of which is the path of least
resistance.
2012-10-26 12:16:08 +02:00
Christoph Martin
7010459585
change gofmt invocation
...
If no syntax errors are found, `gofmt -l % 1>/dev/null` prints the file
name to STDOUT, which is redirected to /dev/null. Less to parse for
syntastic!
If errors are found, they are written to STDERR.
This invocation does not alter the source code, which has been indicated
in the comments.
2012-10-26 12:00:02 +02:00
Martin Grenfell
0765f97dd3
refactor out some duplication of /dev/null logic
2012-10-23 22:37:11 +01:00
Miguel Ventura
a005ebfdf8
Adding support for less/rst/typescript syntax checkers on Windows.
2012-10-22 23:41:30 +01:00
marc@opscode.com
02b22f862b
additional typical deps location for includes
2012-10-17 13:09:26 -07:00
marc@opscode.com
37d3a8318f
include deps for otp-structured apps
2012-10-17 13:05:46 -07:00
Martin Grenfell
aa07bd7122
ruby: make the mri checker play nicer with RVM
...
Query RVM for the version of ruby that should be used to do the syntax
check.
This wont work if the user has different versions of ruby for different
directories (e.g. if they are using a project rvmrc) as it will only a
single ruby version per vim instance.
I think this should satisfy almost everyone though, so we can wait for
feedback before doing anything more hardcore.
2012-10-15 12:49:22 +01:00
Dmitry Kasimtsev
cc45c6f41b
fix erlang syntax checker
2012-10-14 20:08:15 +03:00
Martin Grenfell
ba17657bc4
Merge pull request #380 from kasyaar/erlang-checker-improvements
...
add possibility to add specific compile instruction
2012-10-12 05:06:32 -07:00
Dmitry Kasimtsev
0ecff2f666
remove old syntax checker
2012-10-12 14:56:06 +03:00