Plugin for lazy load of denops.vim plugin with lazy.nvim.
Execute the load
function of denops-lazy.nvim in the config
property of lazy.nvim.
require('denops-lazy').setup({
-- setting default options
-- wait_load = true,
-- wait_server = true,
-- wait_server_delay = 10,
-- wait_server_retry_limit = 100,
})
return {
{ 'vim-denops/denops.vim', event = { 'VeryLazy' } },
{
'yuki-yano/fuzzy-motion.vim',
dependencies = {
{ 'vim-denops/denops.vim' },
},
cmd = { 'FuzzyMotion' },
config = function()
require('denops-lazy').load('fuzzy-motion.vim')
end,
},
}
The setup
function argument or load
function second argument of load specifies options for loading.
Run denops#plugin#wait
after loading a plugin and wait for the plugin to complete loading.
default: true
Wait for startup if the denops server has not completed startup.
default: true
Time to wait for the denops to start (milliseconds)
default: 10
Number of times to wait for denops to start
default: 100