mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-12 17:55:41 +08:00
parent
d7cef91150
commit
ecf73e3e7e
@ -41,9 +41,9 @@ else
|
||||
return resolve(a:path)
|
||||
endfunction
|
||||
endif
|
||||
let g:_spacevim_root_dir = fnamemodify(s:resolve(fnamemodify(expand('<sfile>'),
|
||||
let g:_spacevim_root_dir = escape(fnamemodify(s:resolve(fnamemodify(expand('<sfile>'),
|
||||
\ ':p:h:h:gs?\\?'.((has('win16') || has('win32')
|
||||
\ || has('win64'))?'\':'/') . '?')), ':p:gs?[\\/]?/?')
|
||||
\ || has('win64'))?'\':'/') . '?')), ':p:gs?[\\/]?/?'), ' ')
|
||||
lockvar g:_spacevim_root_dir
|
||||
if has('nvim')
|
||||
let s:qtdir = split(&rtp, ',')[-1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user