8000 A `.cabal` directory is incorrectly considered a project indicator · Issue #1391 · bbatsov/projectile · GitHub
[go: up one dir, main page]

Skip to content

A .cabal directory is incorrectly considered a project indicator #1391

@rotty

Description

@rotty

When using cabal, a .cabal directory will exist inside the user's
home directory. Currently, projectile will interpret that as
a Cabal project existing directly in the home directory, and thus
every file opened that does not belong to a more specific project will
be categorized as a Haskell Cabal project.

Steps to reproduce the problem

Create a .cabal directory in your $HOME, the open a file in any directory that does not belong to a projectile project. Your buffer will be incorrectly be classified as belonging to a cabal project.

Environment & Version information

Projectile version information

Projectile 20190126.1117 (melpa)

Emacs version

GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.4)

Operating system

Debian Buster (amd64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0