Skip to content

Indentation changes after connecting to a sibling CLJS REPL #3815

Open
@simon-katz

Description

@simon-katz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions