neovim/runtime/autoload/provider/perl.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
427 B
VimL
Raw Normal View History

2024-01-22 14:07:14 -07:00
if exists('g:loaded_perl_provider')
finish
endif
2024-01-22 14:07:14 -07:00
function! provider#perl#Call(method, args) abort
return v:lua.vim.provider.perl.call(a:method, a:args)
endfunction
function! provider#perl#Require(host) abort
return v:lua.vim.provider.perl.require(a:host, s:prog)
endfunction
let s:prog = v:lua.vim.provider.perl.detect()
let g:loaded_perl_provider = empty(s:prog) ? 1 : 2
2024-01-22 14:07:14 -07:00
call v:lua.require'vim.provider.perl'.start()