mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:40:05 +08:00
10 lines
252 B
VimL
10 lines
252 B
VimL
let s:_plugin_name = expand('<sfile>:t:r')
|
|
|
|
function! vital#{s:_plugin_name}#new() abort
|
|
return vital#{s:_plugin_name[1:]}#new()
|
|
endfunction
|
|
|
|
function! vital#{s:_plugin_name}#function(funcname) abort
|
|
silent! return function(a:funcname)
|
|
endfunction
|