14 lines
348 B
VimL
Raw Permalink Normal View History

if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
finish
endif
2018-01-10 23:50:02 +01:00
let s:_plugin_name = expand('<sfile>:t:r')
2016-05-02 10:49:45 +02:00
2018-01-10 23:50:02 +01:00
function! vital#{s:_plugin_name}#new() abort
return vital#{s:_plugin_name[1:]}#new()
2016-05-02 10:49:45 +02:00
endfunction
2018-01-10 23:50:02 +01:00
function! vital#{s:_plugin_name}#function(funcname) abort
silent! return function(a:funcname)
2016-05-02 10:49:45 +02:00
endfunction