oscarh / vimerl

A set of erlang plugins for VIM. This is not maintained, better use som modern fork of this!
159 stars 99 forks source link

Avoid broken indentation after some -type annotations. #5

Closed jadahl closed 13 years ago

jadahl commented 13 years ago

Simple (fixed) fix to avoid broken indentation after -type annotations with fun() inside them. For example

-type fooer() :: fun((bar()) -> term()).
-spec foo(fooer()) -> term().
foo(Fun) -> ...

instead of

-type fooer() :: fun((bar()) -> term()).
    -spec foo(fooer()) -> term().
    foo(Fun) -> ...