commit b8cc0447607e0034912c4e5eba0e7da0e9faa296
parent b10c61b06392b58eb460cde5e86c8242c2f1d66e
Author: Jason Franklin <lifecrisis@users.noreply.github.com>
Date: Sat, 25 Aug 2018 09:36:57 -0400
Merge pull request #875 from scrooloose/open_differently_cased_files
Force a case-sensitive comparison of new and existing buffers.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/nerdtree/path.vim b/lib/nerdtree/path.vim
@@ -817,7 +817,7 @@ function! s:Path.tabnr()
let str = self.str()
for t in range(tabpagenr('$'))
for b in tabpagebuflist(t+1)
- if str == expand('#' . b . ':p')
+ if str ==# expand('#' . b . ':p')
return t+1
endif
endfor