You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining an anonymous function only a single whitespace seems to be accepted between the fun keyword and the (paranthesized) parameters. When adding another space or a newline directly after the fun keyword, remaining function definitions in the document will be misidentified as function calls. Beside breaking syntax highlighting this seems to have the effect that when writing a new function definition they are automatically indented.
When activating "Developer: Inspect Editor Tokens and Scopes" in command palette and moving cursor to f3 in the above example, textmate scopes include meta.function-call.erlang and meta.expression.fun.implicit.erlang instead of entity.name.function.definition.erlang.
Extension version is v0.0.46
The text was updated successfully, but these errors were encountered:
When defining an anonymous function only a single whitespace seems to be accepted between the
fun
keyword and the (paranthesized) parameters. When adding another space or a newline directly after thefun
keyword, remaining function definitions in the document will be misidentified as function calls. Beside breaking syntax highlighting this seems to have the effect that when writing a new function definition they are automatically indented.When activating "Developer: Inspect Editor Tokens and Scopes" in command palette and moving cursor to
f3
in the above example, textmate scopes includemeta.function-call.erlang
andmeta.expression.fun.implicit.erlang
instead ofentity.name.function.definition.erlang
.Extension version is v0.0.46
The text was updated successfully, but these errors were encountered: