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

Don't indent after a -type line. #4

Closed jadahl closed 13 years ago

jadahl commented 13 years ago

Simple 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) -> ...