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

Wrong macro indentation after formatting #50

Closed
monroth opened this issue May 17, 2021 · 2 comments
Closed

Wrong macro indentation after formatting #50

monroth opened this issue May 17, 2021 · 2 comments

Comments

@monroth
Copy link

monroth commented May 17, 2021

Macroses with &body arguments usually indented in a way so body arguments are indented two spaces right from macro name

(dolist (element list)
  (first)
  (second)
...

Instead, at least in cases of "dolist", "when" and "unless" macro formatter from alive indents it as

(dolist (element list)
        (first)
        (second)
...
@monroth monroth changed the title Wrong macro indentation in formatting Wrong macro indentation after formatting May 17, 2021
@nobody-famous
Copy link
Owner

I've been trying to find a better way to deal with this. I'll see if I can get it to check for the &body argument. It comes back in the doc query, so should be able to use it.

@nobody-famous
Copy link
Owner

Should be fixed

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