GDQuest / zed-gdscript

Zed support for the GDScript language
MIT License
32 stars 10 forks source link

Adding a line above a block changes the next line's indentation #20

Closed NathanLovato closed 2 months ago

NathanLovato commented 2 months ago

When trying to add a line above the first line of a code block, for example, an if statement, the indentation of the first line of the block is changed. Depending on the situation, one indentation level gets added or removed.

https://github.com/user-attachments/assets/db7fc0b7-75b8-4672-b2c6-203c0ef003c8