diff options
| author | Takahiro Yoshihara | 2018-04-09 11:06:46 +0900 |
|---|---|---|
| committer | Takahiro Yoshihara | 2018-04-09 11:06:46 +0900 |
| commit | 05bc7b676ced4d29cd0ca4c6a6688b55e97458f7 (patch) | |
| tree | db0b206a67d7207a1e27c8131d564c42f3f72e3f | |
| parent | c13c1249fd3bf99c44eb80dfabd7eb7ea0fe09bd (diff) | |
| download | ctrlp.vim-fix-416.tar.gz | |
Fix to respect case for file names
fix-416Fix issue #416
| -rw-r--r-- | autoload/ctrlp.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index 8988b03..4a56662 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -563,7 +563,7 @@ fu! s:MatchIt(items, pat, limit, exc) for item in a:items let id += 1 try - if (s:matchcrfile || !( s:ispath && item == a:exc )) && + if (s:matchcrfile || !( s:ispath && item ==# a:exc )) && \call(s:mfunc, [item, pat]) >= 0 cal add(lines, item) en @@ -1956,7 +1956,7 @@ endf fu! s:dictindex(dict, expr) for key in keys(a:dict) - if a:dict[key] == a:expr | retu key | en + if a:dict[key] ==# a:expr | retu key | en endfo retu -1 endf |