When I type a } to close the for loop, the '}' is moved to position as shown in the screen shot (where the cursor is)

I expect it to be at the same column of the for keyword.

Indentation for lines within the if condition worked perfectly.

enter image description here

Is there anyway I can fix this behaviour?

  • 2
    Any chance you can file bug with swift-mode?
    – PythonNut
    Jun 15, 2015 at 18:51


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.