forked from mkhan45/RustScript
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Now when some expressions and atoms are being printed, they do not adapt to the previous indentation.
Fix this by adding a parameter to toString on both Expr and Atom which holds a "previous indentation" string and indent all lines with this concatenated to at the beginning of the string.
There should also be a setting somewhere (maybe on the Interpreter) specifying indentation type (2 spaces/ 4 spaces/tabs/etc).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request