Commit 69503b5
authored
fix: Process Shift+Enter as pure Enter (Megaxela#16)
Before this commit, Shift+Enter adds a new line in the same block, and
result in a wrong line number. It is somehow fine if only the line
number is wrong, but with the language server, the squiggles are also
in the wrong place, thus it's necessary to fix this.1 parent 869eac8 commit 69503b5
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
639 | 644 | | |
640 | 645 | | |
641 | 646 | | |
| |||
0 commit comments