vim-polyglot/autoload/vital/_crystal.vim

14 lines
343 B
VimL
Raw Normal View History

2016-05-02 04:49:45 -04:00
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
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
endif