Tim Pope
Tim Pope
Cucumber Expressions didn't exist when I implemented that feature. Would certainly be interested in supporting it but I don't personally have plans to pursue it at this time.
That was supposed to close #22, not this.
The right way to do this is to start with `g:projectionist_file` and check parent directories looking for a match. I have several plugins that do this you can use as...
Check `:verbose set path?` to see what might be clobbering it. `BufEnter` fires on all sorts of things so it's a crude hammer to swing at this problem.
What filetype? Apathy mostly appends and prepends so it's (probably) not the root cause.
Are you sure it's not just sorted differently than you expect?
Confirming I can't reproduce with C. Both plugins prepend so order may be unpredictable, but I don't see any mechanism for it to clobber. Maybe it's not running at all....
I mean that's going to match `quxxfoo` too, working as you request would still be a half ass solution. I recommend adding both `"foo"` and `"*/foo"`. I'm not too keen...
It's not a Vim Script limitation. The core issue is that Projectionist deliberately disallows `*` to match nothing, because nothing isn't a valid filename, and we need a valid filename...
Not filename per se but the matched portion of the filename. ```json { "*foo": { "make": "echo {}" } } ```