diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-10 22:01:34 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-11 12:26:22 +0100 |
commit | d1afd434f30202410b217e7137c4a2a4fe055dbe (patch) | |
tree | cd83e1b66c2885975cc1c296d96cc47369251b6b /test/functional/provider/define_spec.lua | |
parent | 1743df82f9003514c384ff99779d82179e6cb999 (diff) | |
download | rneovim-d1afd434f30202410b217e7137c4a2a4fe055dbe.tar.gz rneovim-d1afd434f30202410b217e7137c4a2a4fe055dbe.tar.bz2 rneovim-d1afd434f30202410b217e7137c4a2a4fe055dbe.zip |
rplugin: Call s:LoadRemotePlugins() on startup.
Dispense with the FuncUndefined/CmdUndefined quasi-optimization.
If there are no rplugins, plugin/rplugin.vim takes less than 1ms.
Closes #5821
Closes #6250
Helped-by: Qiming zhao <chemzqm@gmail.com>
Diffstat (limited to 'test/functional/provider/define_spec.lua')
-rw-r--r-- | test/functional/provider/define_spec.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/functional/provider/define_spec.lua b/test/functional/provider/define_spec.lua index b0363eb435..51a8831274 100644 --- a/test/functional/provider/define_spec.lua +++ b/test/functional/provider/define_spec.lua @@ -3,7 +3,6 @@ local eval, command, nvim = helpers.eval, helpers.command, helpers.nvim local eq, run, stop = helpers.eq, helpers.run, helpers.stop local clear = helpers.clear - local function get_prefix(sync) if sync then return 'sync' @@ -11,12 +10,10 @@ local function get_prefix(sync) return 'async' end - local function call(fn, arguments) command('call '..fn..'('..arguments..')') end - local function clear_and_init(init) return function() clear() @@ -26,7 +23,6 @@ local function clear_and_init(init) end end - local function runx(sync, handler, on_setup) local function setup_cb(...) on_setup(...) |