Use platform path separator for Projectionist config
This commit is contained in:
parent
fd83fcaf90
commit
b3651aa744
@ -224,6 +224,9 @@ function! s:ProjectionistDetect() abort
|
|||||||
let base = FugitiveTreeForGitDir(dir)
|
let base = FugitiveTreeForGitDir(dir)
|
||||||
endif
|
endif
|
||||||
if len(base)
|
if len(base)
|
||||||
|
if exists('+shellslash') && !&shellslash
|
||||||
|
let base = tr(base, '/', '\')
|
||||||
|
endif
|
||||||
call projectionist#append(base, FugitiveCommonDir(dir) . '/info/projections.json')
|
call projectionist#append(base, FugitiveCommonDir(dir) . '/info/projections.json')
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user