-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()
Looking at http://erlang.org/doc/reference_manual/typespec.html#id77354 types are also indented:
which doesn't line up completely correctly but I hope you get the idea!
but vim-erlang-runtime doesn't do that, instead providing: