Nimble icon indicating copy to clipboard operation
Nimble copied to clipboard

Use correct indentation when inserting new line after an empty line

Open aesilevich opened this issue 2 years ago • 0 comments

Example code:

func foo() {
  let x = 10

  let y = 20
}

How to reproduce:

  1. Move cursor to the third (empty line)
  2. Press the Return button

After pressing Return, the editor will insert new line without indentation. It should insert indentation spaces (two spaces) at the beginning of the new line.

aesilevich avatar Jul 24 '23 14:07 aesilevich