vim-polyglot/autoload/vital/_crystal.vim

14 lines
348 B
VimL
Raw Normal View History

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