mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 12:20:05 +08:00
commit
42f494a809
@ -689,7 +689,7 @@ function! SpaceVim#begin() abort
|
||||
if !argc()
|
||||
return [1, getcwd()]
|
||||
elseif argv(0) =~# '/$'
|
||||
let f = expand(argv(0))
|
||||
let f = fnamemodify(expand(argv(0)), ':p')
|
||||
if isdirectory(f)
|
||||
return [1, f]
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user