Commit 347b3f6
committed
Use correct mode names when g:ctrlp_types is customised.
Instead of just filtering s:coretypes (which contains descriptive mode
names) based on g:ctrlp_types, change the order of its elements so the
correct mode name is fetched.
Fixes #309.1 parent ec0ec24 commit 347b3f6
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
0 commit comments