14 lines
348 B
VimL
14 lines
348 B
VimL
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
|
finish
|
|
endif
|
|
|
|
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
|