On Windows, do a case-insensitive comparison of paths. (#967)
This commit is contained in:
parent
0efbdfbc5a
commit
e3e600608a
@ -564,7 +564,11 @@ endfunction
|
|||||||
" Args:
|
" Args:
|
||||||
" path: the other path obj to compare this with
|
" path: the other path obj to compare this with
|
||||||
function! s:Path.equals(path)
|
function! s:Path.equals(path)
|
||||||
return self.str() ==# a:path.str()
|
if nerdtree#runningWindows()
|
||||||
|
return self.str() ==? a:path.str()
|
||||||
|
else
|
||||||
|
return self.str() ==# a:path.str()
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" FUNCTION: Path.New(pathStr) {{{1
|
" FUNCTION: Path.New(pathStr) {{{1
|
||||||
|
Loading…
Reference in New Issue
Block a user