vim-polyglot/autoload/vital/_crystal.vim
Adam Stankiewicz 58709c49f6
Update
2018-01-10 23:50:02 +01:00

14 lines
343 B
VimL

if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
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
endif