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:
commit
b8cc044760
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user