Skip to content

Better handling of namespaced maps + bugfixes for clojure-ts-align #94

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

Merged
merged 2 commits into from
May 12, 2025

Conversation

rrudakov
Copy link
Contributor

  • clojure-ts-align wasn't working if the expression has ignored forms (prefixed with #_)
  • namespaced maps were not indented properly and were not supported by clojure-ts-align.

Before submitting a PR mark the checkboxes for the items you've done (if you
think a checkbox does not apply, then leave it unchecked):

  • The commits are consistent with our contribution guidelines.
  • You've added tests (if possible) to cover your change(s). Bugfix, indentation, and font-lock tests are extremely important!
  • You've run M-x checkdoc and fixed any warnings in the code you've written.
  • You've updated the changelog (if adding/changing user-visible functionality).
  • You've updated the readme (if adding/changing user-visible functionality).

Thanks!

This fixes a bug in clojure-ts-align.  Before this change #_ and the following
ignored expression were treated as 2 separate s-expressions, so we were stuck in
an endless loop.
@rrudakov rrudakov requested a review from bbatsov May 12, 2025 19:13
@bbatsov bbatsov merged commit 83d1aed into clojure-emacs:main May 12, 2025
3 checks passed
@rrudakov rrudakov deleted the fix/align-bug branch May 12, 2025 20:09
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.

2 participants