-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The formatter should prevent multi-indent when followed by multi-outdent. In this case, we have { and function, then on another line } followed by end function
This will require a lookahead to figure out if we're doing to outdent the same number of indents.
temp = {
key_9: { env: ["any"], themes: ["any"], runtimeCheck: function() as boolean
return true
end function }
key_10: { env: ["any"], themes: ["any"], runtimeCheck: function() as boolean
return false
end function }
key_11: { env: ["dev"], themes: ["any"], runtimeCheck: function() as boolean
return true
end function }
key_12: { env: ["any"], themes: ["any"], runtimeCheck: function() as boolean
return true
end function }
}Should be:
temp = {
key_9: { env: ["any"], themes: ["any"], runtimeCheck: function() as boolean
return true
end function }
key_10: { env: ["any"], themes: ["any"], runtimeCheck: function() as boolean
return false
end function }
key_11: { env: ["dev"], themes: ["any"], runtimeCheck: function() as boolean
return true
end function }
key_12: { env: ["any"], themes: ["any"], runtimeCheck: function() as boolean
return true
end function }
}Metadata
Metadata
Assignees
Labels
No labels