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