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 '15 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.