clojure-emacs / clojure-emacs/cider
Indentation changes after connecting to a sibling CLJS REPL
- Dominant language
- Emacs Lisp
- Stars
- 3.7k
- Forks
- 651
- Avg merge
- 11h 6m
- Merged PRs (30d)
- 33
Description
## Expected behavior
In a CLJ/CLJS project, connecting to a sibling CLJS REPL should not change the way that macro calls are indented.
## Actual behavior
Connecting to a sibling CLJS REPL changes the way that macro calls are indented.
## Steps to reproduce the problem
See the repo at https://github.com/simon-katz/cider-indentation-messing-up-with-cljs-sibling — the README has detailed instructions.
## Environment & Version information
### CIDER version information
```
;; CIDER 1.18.0 (Athens), nREPL 1.3.1
;; Clojure 1.11.1, Java 11.0.26
```
I've also seen the same behaviour with CIDER 1.17.
### Lein / Clojure CLI version
Clojure CLI version 1.11.4.1474
### Emacs version
GNU Emacs 30.1 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.65 Version 12.7.6 (Build 21H1320)) of 2025-02-24
### Operating system
macOS Sonoma 14.1.1 (23B81)
### JDK distribution
```
$ java -version
openjdk version "11.0.26" 2025-01-21
OpenJDK Runtime Environment Homebrew (build 11.0.26+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.26+0, mixed mode)
```
I've also seen the same behaviour with Java 21.
Contributor guide
Assessment
This issue has not been assessed yet.