> +            {i, Dir ++ "/lib"},
> +            {i, Dir ++ "/deps"}]

Will allow you to do -include_lib("somedep/include/file.hrl") based on any
of the dependencies.


2013/4/21 Ricardo Catalinas Jiménez <notifications@github.com>

> In compiler/erlang_check.erl:
>
> > @@ -12,10 +12,13 @@ main([File]) ->
> >              {i, Dir ++ "/include"},
> >              {i, Dir ++ "/../include"},
> >              {i, Dir ++ "/../../include"},
> > -            {i, Dir ++ "/../../../include"}],
> > +            {i, Dir ++ "/../../../include"},
>
> Also, would be nice to have the include directories of all the deps using
> something like filelib:wildcard(filename:join(Dir, "deps/*/include")).
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jimenezrick/vimerl/pull/46/files#r3888058>
> .
>



-- 
Med Vennlig Hilsen
Olav Frengstad

Systemutvikler // FWT
+47 920 42 090