mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 03:40:06 +08:00
fix(core): typo in parser_argv function
This commit is contained in:
parent
c8035f713f
commit
8937bc7cbe
@ -1585,7 +1585,7 @@ function! s:parser_argv() abort
|
|||||||
if exists('v:argv')
|
if exists('v:argv')
|
||||||
" if use embed nvim
|
" if use embed nvim
|
||||||
" for exmaple: neovim-qt
|
" for exmaple: neovim-qt
|
||||||
if index(v:argv, '--dembed') !=# -1
|
if index(v:argv, '--embed') !=# -1
|
||||||
return [0]
|
return [0]
|
||||||
elseif v:argv[1] =~# '/$'
|
elseif v:argv[1] =~# '/$'
|
||||||
let f = fnamemodify(expand(v:argv[1]), ':p')
|
let f = fnamemodify(expand(v:argv[1]), ':p')
|
||||||
|
Loading…
Reference in New Issue
Block a user