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
pressing enter indents the cursor by 8 spaces to align with the final expr().. We end up with:
function() ->expr() andalsoexpr().
|
This is also visible when pasting some code after similar function. For example, manually removing the extra indentation, and then pasting function2() -> ok. ends up with:
Describe the bug
Given the code below:
pressing enter indents the cursor by 8 spaces to align with the final
expr().
. We end up with:This is also visible when pasting some code after similar function. For example, manually removing the extra indentation, and then pasting
function2() -> ok.
ends up with:In this case the final indentation is only 4 spaces, rather than the 8 spaces produced by simply pressing enter.
Expected behavior
The indentation should be reset to the left margin given we're outside any function.
Context
erlang_ls
version (tag/sha): v0.0.32 of the VS Code extensionThe text was updated successfully, but these errors were encountered: