mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 20:43:52 -05:00
14 lines
360 B
VimL
14 lines
360 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'crystal', 'autoload/vital/_crystal.vim')
|
|
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
|