mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user