diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-08-29 11:00:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-29 11:00:24 +0200 |
commit | 0b5a7e4ad5eee229c7aca70b99f8b6f189d289d1 (patch) | |
tree | 4e7959e315e40a34cb3fbdc26f23e5b8c8112971 /test/functional/helpers.lua | |
parent | 97c6d80ca7364d571ade073a7fb498b180b54dd3 (diff) | |
parent | 8d6e3f2b88469a3af596cad5f3adf667d16cf8a2 (diff) | |
download | rneovim-0b5a7e4ad5eee229c7aca70b99f8b6f189d289d1.tar.gz rneovim-0b5a7e4ad5eee229c7aca70b99f8b6f189d289d1.tar.bz2 rneovim-0b5a7e4ad5eee229c7aca70b99f8b6f189d289d1.zip |
Merge pull request #4432 from bfredl/pum_ui
allow external UI:s to render the popupmenu
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 2d54d23254..140e78aeb5 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -306,6 +306,10 @@ local function nvim(method, ...) return request('vim_'..method, ...) end +local function ui(method, ...) + return request('nvim_ui_'..method, ...) +end + local function nvim_async(method, ...) session:notify('vim_'..method, ...) end @@ -432,6 +436,7 @@ end local funcs = create_callindex(nvim_call) local meths = create_callindex(nvim) +local uimeths = create_callindex(ui) local bufmeths = create_callindex(buffer) local winmeths = create_callindex(window) local tabmeths = create_callindex(tabpage) @@ -490,6 +495,7 @@ return function(after_each) bufmeths = bufmeths, winmeths = winmeths, tabmeths = tabmeths, + uimeths = uimeths, curbufmeths = curbufmeths, curwinmeths = curwinmeths, curtabmeths = curtabmeths, |