Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- The parentheses after some directives, e.g. the -spec directive can be omitted, however the directive would then be highlighted as an atom. ``` erlang -spec(foo() -> { ok, bar }). % spec is highlighted -spec foo() -> { ok, bar }. % spec is not highlighted, though it is perfectly valid ``` - Defining record types, the `::` operator was not recognized, and types were only recognized, if defaults were set: ``` erlang -record({ foo = default :: atom() % atom() is highlighted as a function/type bar :: atom() % atom() is not highlighted }) ```
- Loading branch information