cider icon indicating copy to clipboard operation
cider copied to clipboard

Indentation changes after connecting to a sibling CLJS REPL

Open simon-katz opened this issue 5 months ago • 0 comments

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.

simon-katz avatar May 01 '25 22:05 simon-katz