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