Commit fc44a0b
committed
fix: Fix indentation when pressing enter with cursor in the indentation
The bug:
When it's:
```
<space><cursor><space>
```
And you press enter, it will become:
```
<space>
<space><space><cursor><space>
```
But the expected behavior is:
```
<space>
<space><cursor><space>
```
This commit fixes it.1 parent 13376c5 commit fc44a0b
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
715 | 720 | | |
716 | 721 | | |
717 | 722 | | |
| |||
0 commit comments