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:
Steps To Reproduce
- Have a
.stylua.toml file in your $HOME
- Go to Projects diretcory
- Clone
pre-commit.nvim
- cd to it
- Run
nvim lua/precommit/init.lua
- Run
:checkhealth project

Expected Behavior
$HOME should be blacklisted, given my config.
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.tomlSteps To Reproduce
.stylua.tomlfile in your$HOMEpre-commit.nvimnvim lua/precommit/init.lua:checkhealth projectExpected Behavior
$HOMEshould be blacklisted, given my config.