Eugleo / magic-racket

The best coding experience for Racket in VS Code
https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket
GNU General Public License v3.0
202 stars 28 forks source link

Folding eats trailing newlines #61

Closed shocoman closed 2 years ago

shocoman commented 2 years ago

When I am trying to fold a code region, empty lines at the end also collapse, which is a bit weird and unnatural. Here is an example: bad

I think I've found the solution. There is an offSide option that can be included in language-configuration.json file like this: 2021-12-30 23_15_39-language-configuration json - evzen-wybitul magic-racket-0 6 1 - Visual Studio C

And now it works perfectly as it seems to me good