Skip to content

[BUG]: Plugin keeps looking for parent directories #12

@DrKJeff16

Description

@DrKJeff16

Description

For some reason the plugin's pattern matching does not halt when root pattern has been found.
What do I mean by that? See below.

TL;DR Solution

Remove, if you can, every pattern-matching file upwards while I fix this.

For me it was just:

rm ~/.stylua.toml

Steps To Reproduce

  1. Have a .stylua.toml file in your $HOME
  2. Go to Projects diretcory
  3. Clone pre-commit.nvim
  4. cd to it
  5. Run nvim lua/precommit/init.lua
  6. Run :checkhealth project

Expected Behavior

$HOME should be blacklisted, given my config.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixedThe Issue has been addressed

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions