Commit Graph

26 Commits

Author SHA1 Message Date
LCD 47
c2e7bf29c9 Escript: parseShebang() is more capable these days. 2014-07-31 16:40:34 +03:00
LCD 47
e54f28e338 New redirect checker for arduino: avrgcc. 2014-07-15 09:33:31 +03:00
Radek Szymczyszyn
1fcb6b89b5 Don't forget about ebin/ 2014-03-05 19:44:43 +01:00
Radek Szymczyszyn
2286363adb Properly add deps/*/include to header file path 2014-03-05 19:34:56 +01:00
Radosław Szymczyszyn
105965c821 Simplify main/1 heads 2014-03-05 19:18:41 +01:00
LCD 47
d1978e26d5 Add a header to syntaxerl.vim. 2014-02-14 22:14:46 +02:00
locojay
1389bf45ce adding syntaxerl for erlang files 2014-02-14 14:24:44 -05:00
LCD 47
4c2004d2e5 Bug fix: the result of expand('<sfile>:p:h') has to be escaped. 2014-02-06 11:58:30 +02:00
LCD 47
44d7ffd7e0 makeprgBuild() refactor: add *_before and *_after options. 2014-01-28 21:44:44 +02:00
LCD 47
47f054112b Fix shebang parsing for escript. 2014-01-14 20:33:49 +02:00
LCD 47
00e75e1151 Minor cleanup. 2014-01-05 08:31:29 +02:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
LCD 47
6d81ac5dd0 Registry cleanup, stage 3.
Make syntastic#makeprg#build() a dictionary function.
Remove the mandatory checker argument to syntastic#makeprg#build().
2013-11-02 10:44:06 +02:00
LCD 47
3694908d05 Registry cleanup, stage 2.
(1) Checkers now have an _exec attribute, and an accessor getExec().
(2) CreateAndRegisterChecker() initializes _exec from an optional argument
'exec'.  If this argument is missing, 'name' is used instead.
(3) Functions SyntaxCheckers_*_IsAvailable() are now dictionary functions.
(4) Functions SyntaxCheckers_*_IsAvailable() are now optional.  When
they are missing, they are assumed to return executable(expand(self.getExec())).
(5) Argument 'exe' of function syntastic#makeprg#build() is now optional.
If this argument is missing, expand(self.getExec()) is used to set checker
executables.
2013-11-02 10:44:06 +02:00
LCD 47
28bce98a68 Registry cleanup, stage 1.
Make SyntaxCheckers_*_GetLocList() dictionary functions.
Pass a reference to the current checker to syntastic#makeprg#build().
Add an optional 'redirect' argument to CreateAndRegisterChecker().
Change the sh checker to use the new dictionary functions.
Add a new registry method getLocListRaw() (needed for the sh checker).
2013-11-02 10:44:06 +02:00
LCD 47
d74a2e19f9 Rename erlang.vim --> escript.vim. 2013-09-30 14:52:36 +03:00
LCD 47
1e44002f82 Erlang checker cleanup. 2013-09-30 14:52:01 +03:00
LCD 47
935ee1d95f Merge pull request #757 from nougad/erlang_rebar
Add possibility to specify a rebar file as parameter in erlang_check_file.erl
2013-09-19 15:47:52 -07:00
stwind
c541515007 Erlang: support files under test/ folder 2013-09-12 14:29:13 +08:00
Florian Eitel
8c698b15d1 Add possibility to specify a rebar file as parameter in erlang_check_file.erl
I want to use lib_dirs and sub_dirs from rebar file and run compile with
this paths. So I search for the next rebar.config file and pass this in
g:syntastic_erlc_include_path.

see: https://github.com/scrooloose/syntastic/issues/685
2013-08-19 09:57:27 +02:00
LCD 47
6ba8e651cb Make shell escaping less produce fewer useless quotes.
Function inspired by tpope's vim-dispatch.
2013-07-04 21:04:20 +03:00
Martin Grenfell
602bbe7b24 break down some error format strings
Most errorformats are now expressed 1 "clause" per line.
2013-05-14 17:36:20 +01:00
Olav Frengstad
f39fba1c87 Add support for nested dirs inside src/
When having nested directories (for instance `src/protocol/tm_protocol.erl`)
autocompilation would fail. This fix adds the abspath of all depdencies to
the codepath and sets compile option {i, _} to support both `deps/` and `lib/`.
2013-04-18 17:12:45 +02:00
Martin Grenfell
16424e5761 add guards to all checkers
goddamn I love macros
2013-02-21 15:50:41 +00:00
Mikhail Vinogradov
417fd8b484 Added explicit call of escript
Added explicit call of escript, to run check, bypassing shell (actual for Windows)
2013-02-11 02:18:56 +04:00
Martin Grenfell
e0b8e87c93 refactor all the syntax checkers to use the new API and dir layout 2013-01-27 20:08:30 +00:00