Skip to content

Conversation

@Arpple
Copy link

@Arpple Arpple commented Oct 17, 2018

*fixed from previous PR to not re format import
when format empty if block without else the comment is not indent properly

input:

if 1 then
  -- body IfClause
end

output before:

if 1 then
-- body IfClause
end

fix to:

if 1 then
    -- body IfClause
end

and remove bracket in switch case which not match other case in src/docPrinter.ts

@nico-abram
Copy link

@trixnz Is there anything blocking this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants