cspell icon indicating copy to clipboard operation
cspell copied to clipboard

Support nested `.gitignore`

Open fabalchemy opened this issue 2 years ago • 0 comments

Bug

When a subdirectory has an "unignore" directive in its .gitignore, Spell Checker still excludes the matching files, indicating that they are ignored because of the root .gitignore.

Steps to reproduce

git init repro
cd repro
echo '*.md' > .gitignore
mkdir a && cd a
echo '!*.md' > .gitignore
touch test.md
code .

image

fabalchemy avatar Aug 26 '22 10:08 fabalchemy