vim-erlang/vim-erlang-runtime

types would love to be indented too

dch opened this issue · 1 comments

dch commented

Looking at http://erlang.org/doc/reference_manual/typespec.html#id77354 types are also indented:

-type: foo :: any()                 %% The top type, the set of all Erlang
            | none()                %% The bottom type, contains no terms
            | pid()
            | port()
            | reference()
            | []                    %% nil
            | float()

which doesn't line up completely correctly but I hope you get the idea!

but vim-erlang-runtime doesn't do that, instead providing:

-type: foo :: any()                 %% The top type, the set of all Erlang
| none()                %% The bottom type, contains no terms
| pid()
| port()
| reference()
| []                    %% nil
| float()

Duplicate of #2.