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
Gregor Uhlenheuer
8540748d0c
Merge pull request #425 from Fruneau/c-cpp-improvements
...
C/C++ improvements: clang support and default include exclusion
2012-12-16 12:53:42 -08:00
Martin Grenfell
3deec1d81a
add syntastic#util#ParseMagicNumber()
...
this will (hopefully) be used in the perl checker to fix #422
2012-12-16 20:48:54 +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
fec1bf34fe
add an faq about style checkers
2012-12-05 23:34:13 +00:00
Martin Grenfell
163d5fb370
php: add a bit of doc at the top
2012-12-05 23:34:13 +00:00
Martin Grenfell
1b84327e09
Merge pull request #421 from Hegz/master
...
Fixed perl syntax checking
2012-12-05 15:11:36 -08: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
ab5dcca501
Merge branch 'allow_custom_checkers'
2012-12-04 09:33:26 +00:00
Martin Grenfell
2c0abf4515
perl: fix some comments that got slightly screwed
2012-12-03 23:55:54 +00:00
Martin Grenfell
9c575f5f4e
Merge pull request #419 from NotBugger/patch-1
...
Update syntax_checkers/efm_perl.pl
2012-12-03 15:54:46 -08: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
7fe3ac44c2
allow custom checkers by just defining a checking function
...
Problem: users want to define their own checking function and not use
the syntastic defaults
Solution: dont load the syntastic default if a checking function
already exists. This way users can just define their own function and
override syntastic.
e.g. the user wants to have their own ruby checker, so in their vimrc
they just add:
function! SyntaxCheckers_ruby_GetLocList()
return SyntasticMake({"some custom stuff"})
endfunction
2012-12-03 10:59:11 +00: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
Martin Grenfell
9f7df943d5
Merge pull request #417 from artnez/python-interpreter-checker
...
Add python checker that uses python itself
2012-12-03 01:49:33 -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
b209693a2a
Only set g:loaded_FT_syntax_checker if unset
2012-11-27 07:43:42 -08: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
36db8f4b16
fix a bug with highlighting and getmatches
...
Highlighting requires vim >= 7.1 with patch 40. It should be disabled
otherwise.
Fix a bug with the version check.
Closes #250 .
2012-11-17 20:15:45 +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
c6c1f426a7
remove gender specific language from readme
...
Closes #402
2012-11-14 19:36:24 +00: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
Gregor Uhlenheuer
8a2adf92d3
Merge pull request #399 from dkasak/patch-1
...
Fix typo in doc/syntastic.txt
2012-11-05 10:53:27 -08:00
Denis
226b8a3d84
Fix typo in doc/syntastic.txt
2012-11-04 12:14:03 +01: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