Merge pull request #875 from scrooloose/open_differently_cased_files

Force a case-sensitive comparison of new and existing buffers.
This commit is contained in:
Jason Franklin 2018-08-25 09:36:57 -04:00 committed by GitHub
commit b8cc044760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -817,7 +817,7 @@ function! s:Path.tabnr()
let str = self.str() let str = self.str()
for t in range(tabpagenr('$')) for t in range(tabpagenr('$'))
for b in tabpagebuflist(t+1) for b in tabpagebuflist(t+1)
if str == expand('#' . b . ':p') if str ==# expand('#' . b . ':p')
return t+1 return t+1
endif endif
endfor endfor