jimenezrick/vimerl — pull request #15 by tapichu (2012-01-07 19:09:16+00:00)
Title: Fix problem with completion on OSX

Ricardo,

The man path on OSX (at least when erlang is installed with brew) is `/usr/local/Cellar/erlang/R14B04/share/man` but the root dir is `/usr/local/Cellar/erlang/R14B04/lib/erlang` so the completion was not working correctly.

This is a quick fix, but I'll try coming up with a more general solution. Maybe going up to the `R\d+B\d+` dir and searching for a `man` dir, or something like that.