Open jackfirth opened 9 years ago
It's possible, but it would involve writing a custom indenter.
Basically the sweet-exp
language would have to export a value for this get-info
key:
I managed to make an indenter that does nothing, so that it never un-indents a properly indented form: https://github.com/takikawa/sweet-racket/pull/33
@jackfirth @takikawa I modified the indenter in #33 to use normal s-expression indenting rules within an s-expression, and otherwise not change anything.
@jackfirth When you update, is the indentation better now?
Sweet expressions mess with DrRacket's default indentation. Is there a way to tell DrRacket how to indent sweet expressions?