mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:10:05 +08:00
Fix #1581
This commit is contained in:
parent
c95e3a8544
commit
8b60bc1280
@ -867,7 +867,7 @@ function! SpaceVim#begin() abort
|
|||||||
elseif argv(0) ==# '.'
|
elseif argv(0) ==# '.'
|
||||||
return [1, getcwd()]
|
return [1, getcwd()]
|
||||||
elseif isdirectory(expand(argv(0)))
|
elseif isdirectory(expand(argv(0)))
|
||||||
return [1, expand(argv(0)) ]
|
return [1, fnamemodify(expand(argv(0)), ':p')]
|
||||||
else
|
else
|
||||||
return [0]
|
return [0]
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user