clojure-emacs / clojure-ts-mode

The next generation Clojure major mode for Emacs, powered by TreeSitter
GNU General Public License v3.0
140 stars 13 forks source link

indent-region does not follow clojure-align-forms-automatically #22

Closed manuel-uberti closed 1 year ago

manuel-uberti commented 1 year ago

Expected behavior

indent-region respects clojure-align-forms-automatically.

Actual behavior

indent-region does not seem to take clojure-align-forms-automatically set to t into account.

Steps to reproduce the problem

.dir-locals.el

((nil . ((clojure-align-forms-automatically . t))))

test.clj

(ns test)

{:a 1
 :ab 2
 :abc 3}

Environment & Version information

clojure-ts-mode version

clojure-ts-mode-0.1.5.0.20230915.3529

tree-sitter-clojure grammar version

v0.0.12

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

manuel-uberti commented 1 year ago

Closing, duplicate of https://github.com/clojure-emacs/clojure-ts-mode/issues/16