Commit da0c27e
authored
s:list_dir(): fix: 'wildignorecase' affects directory listing #184
glob() is affected by 'wildignorecase' even when suffix=1 is given.
This is a documented behavior.
globpath() is _not_ afflicted by this funny quirk, so use it instead.
Also escape more special chars:
- , path separator in globpath()
- ; upward search syntax in 'path'
- *? globing of the 'path' value1 parent 4bc6add commit da0c27e
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments