diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-06-08 11:26:06 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2016-08-29 10:17:31 +0200 |
commit | c41bacc67cb2c5be765f30c42889f168d5fc9d40 (patch) | |
tree | 492f19ea5dd57ec1ea980192fa153ef1325616b6 /test/functional/helpers.lua | |
parent | e968d72cae57180921ad9cf24cde74fedc8b03d3 (diff) | |
download | rneovim-c41bacc67cb2c5be765f30c42889f168d5fc9d40.tar.gz rneovim-c41bacc67cb2c5be765f30c42889f168d5fc9d40.tar.bz2 rneovim-c41bacc67cb2c5be765f30c42889f168d5fc9d40.zip |
api/ui: add tests for popupmenu_external events
update screen.lua to use new style nvim_ui_attach
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, |