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

Align to comment/uneval for "empty" maps #42

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

lread
Copy link
Contributor

@lread lread commented Feb 13, 2025

If an empty map only has comments and/or #_ unevals, align assoc'ed entry to first comment (or uneval).

To help me test this fix, also fixed alignment for update when map is empty by applying existing technique I saw for assoc -> assoc*.

Closes #40

Please answer the following questions and leave the below in as part of your PR.

If an empty map only has comments and/or #_ unevals, align assoc'ed
entry to first comment (or uneval).

To help me test this fix, also fixed alignment for `update` when map is
empty by applying existing technique I saw for `assoc` -> `assoc*`.

Closes borkdude#40
@borkdude borkdude merged commit 414cda2 into borkdude:master Feb 14, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

indenting map throws when trying to match 0 col indent
2 participants