Skip to content

New connection manager reads the wrong cider-default-cljs-repl #2336

Closed
@arichiardi

Description

@arichiardi

Expected behavior

When I call C-c M-J the cider-connect-sibling-cljs should read the cider-default-cljs-repl from the code buffer's locals.

Actual behavior

It always reads from the REPL buffer.

Steps to reproduce the problem

Have a .dir-locals.el like this in your folder:

((nil . ((cider-default-cljs-repl . figwheel-main)))

C-c M-J in a code buffer. You will always be prompted no matter what is the value of cider-default-cljs-repl.

CIDER version information

latest master

The problems seems in here, the variable should be read from the code buffer but it is read from the REPL instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions