mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 17:05:42 +08:00
Add autocompletion of SpaceVim, Fix #424
This commit is contained in:
parent
bd3229b68d
commit
9221a22121
@ -44,7 +44,7 @@ endfunction
|
|||||||
" @vimlint(EVL103, 1, a:CmdLine)
|
" @vimlint(EVL103, 1, a:CmdLine)
|
||||||
" @vimlint(EVL103, 1, a:CursorPos)
|
" @vimlint(EVL103, 1, a:CursorPos)
|
||||||
function! SpaceVim#commands#complete_plugin(ArgLead, CmdLine, CursorPos) abort
|
function! SpaceVim#commands#complete_plugin(ArgLead, CmdLine, CursorPos) abort
|
||||||
return join(keys(dein#get()), "\n")
|
return join(keys(dein#get()) + ['SpaceVim'], "\n")
|
||||||
endfunction
|
endfunction
|
||||||
" @vimlint(EVL103, 0, a:ArgLead)
|
" @vimlint(EVL103, 0, a:ArgLead)
|
||||||
" @vimlint(EVL103, 0, a:CmdLine)
|
" @vimlint(EVL103, 0, a:CmdLine)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user