Describe the bug
When 'ignorecase' is set I would expect :filter to ignore case in the pattern but it does not. If this is the intended behavior, I think it should be documented under :help :filter.
To Reproduce
gvim --clean (or vim):e a:e AA:filter a lsExpected behavior
I would expect both "a" and "AA" to appear in the output.
Environment:
Additional context
As a workaround, I can do :filter /\ca/ ls to ignore case but I wish that was not necessary.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
Having 'ignorecase' apply to :filter may not be desired by other users. It already applies to too many things.
As you mentioned, adding \c to the pattern has the desired effect.
I'll add a note that the pattern of :filter does not use 'ignorecase'.
Closed #7918.