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)
|
||||
endif
|
||||
if len(base)
|
||||
if exists('+shellslash') && !&shellslash
|
||||
let base = tr(base, '/', '\')
|
||||
endif
|
||||
call projectionist#append(base, FugitiveCommonDir(dir) . '/info/projections.json')
|
||||
endif
|
||||
endfunction
|
||||
|
Loading…
x
Reference in New Issue
Block a user