Skip to content

clojure-project-root-path returns wrong value #687

Open
@bolivier

Description

@bolivier

Expected behavior

When I am in a file src/app/project.clj in a deps.edn project, clojure-project-root-path returns my root directory.

Actual behavior

clojure-project-root-path interprets this as a leiningen project and returns the current (nested) directory.

Steps to reproduce the problem

See the repo https://github.com/bolivier/clojure-mode-root-dir-bug

Environment & Version information

Linux

cider 1.18.0-snapshot

clojure-mode version

clojure-mode (5.20.0-snapshot)

Emacs version

30.1

Operating system

Arch Linux

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