We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
indent-region respects clojure-align-forms-automatically.
indent-region
clojure-align-forms-automatically
indent-region does not seem to take clojure-align-forms-automatically set to t into account.
t
/tmp/test-project
.dir-locals.el
((nil . ((clojure-align-forms-automatically . t))))
test.clj
(ns test) {:a 1 :ab 2 :abc 3}
M-x clojure-ts-mode
major-mode-remap-alist
clojure-mode
mark-sexp
C-M-SPC
M-x
C-M-\
{:a 1 :ab 2 :abc 3}
clojure-ts-mode-0.1.5.0.20230915.3529
v0.0.12
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2023-09-19 Commit: 7be5c8f47c9df01a5accdbf954d952b9bbe5b5f0
7be5c8f47c9df01a5accdbf954d952b9bbe5b5f0
Ubuntu 22.04.3
The text was updated successfully, but these errors were encountered:
Closing, duplicate of #16
Sorry, something went wrong.
No branches or pull requests
Expected behavior
indent-region
respectsclojure-align-forms-automatically
.Actual behavior
indent-region
does not seem to takeclojure-align-forms-automatically
set tot
into account.Steps to reproduce the problem
/tmp/test-project
) with the following files:.dir-locals.el
test.clj
test.clj
M-x clojure-ts-mode
(unless you setmajor-mode-remap-alist
already to prefer it overclojure-mode
)test.clj
(I usemark-sexp
, bound toC-M-SPC
)indent-region
(either viaM-x
or withC-M-\
)clojure-align-forms-automatically
clojure-mode
this works as expected, meaning I get the following:Environment & Version information
clojure-ts-mode version
tree-sitter-clojure grammar version
Emacs version
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2023-09-19
Commit:
7be5c8f47c9df01a5accdbf954d952b9bbe5b5f0
Operating system
Ubuntu 22.04.3
The text was updated successfully, but these errors were encountered: