Nimble icon indicating copy to clipboard operation
Nimble copied to clipboard

Decrease indentation when } character is inserted in emtpy line

Open aesilevich opened this issue 2 years ago • 0 comments

Example code:

func foo() {
  let x = 10
  

The third line contain indentation (two spaces) at the beginning.

How to reproduce:

  1. Move cursor to the end of the third line
  2. Insert the '}' character

The editor will insert the '}' character after indentation. It should decrease indentation when inserting the '}' character. The line after inserting the '}' character should not contain indentation spaces.

aesilevich avatar Jul 24 '23 14:07 aesilevich