I'm using helm-projectile
in spacemacs
. I want helm-projectile
to ignore all the files in .stack-work
directory when running helm-projectile-find-file
.
I added .stack-work
in projectile-globally-ignored-directories
variable:
But the result of helm-projectile-find-file
still contains following:
All files in .stack-work
were successfully ignored, except those 4 files. I cannot figure out why that 4 files are still showing up, while others don't.
I also tried to create.projectile
in the root directory of the project with the following contents:
-/.stack-work
The result was, helm-projectile-grep
seems to ignore .stack-work
with .projectile
. But there was no difference in helm-projectile-find-file
; it still shows up that 4 files.
Why are that 4 files are showing up in the result? What should I do in order to completely ignore files in .stack-work
?