Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format and at-exp #55

Open
db7 opened this issue May 28, 2024 · 1 comment
Open

format and at-exp #55

db7 opened this issue May 28, 2024 · 1 comment

Comments

@db7
Copy link

db7 commented May 28, 2024

It seems that fmt does not like at-exp.

Example:

#lang at-exp racket/base
@displayln{some string}

Now if I run raco fmt I get the following weird output:

$ raco fmt at-exp.rkt 
#lang at-exp racket/base
@
displayln
{text}

The @cmd{args} got split in several lines and the string argument was replaced with "text".

I probably overlooked something, but is there a way how to turn this behavior off?

@sorawee
Copy link
Owner

sorawee commented May 28, 2024

My recommendation would be to not run fmt on a #lang at-exp file at all.

I saw your comment in #22 (comment). This feature is not yet implemented in the current version of fmt, but it is implemented for the next version of fmt (see my presentation at https://www.youtube.com/watch?v=5eLPShNtSI4). Unfortunately, I have been busy, and don't have time to release this next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants