diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-11-29 22:51:20 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-12-20 11:57:30 +0100 |
commit | 221f6fffad12beaa928ccedae336d64b7b1c1208 (patch) | |
tree | 501c13ec241ff3d6a020d96f6ec0c3947000418b /test/functional/helpers.lua | |
parent | e6d0dea42b28a4814546bcf699ce277c365ebfc1 (diff) | |
download | rneovim-221f6fffad12beaa928ccedae336d64b7b1c1208.tar.gz rneovim-221f6fffad12beaa928ccedae336d64b7b1c1208.tar.bz2 rneovim-221f6fffad12beaa928ccedae336d64b7b1c1208.zip |
runtime/lua/vim/compat.lua
ref #9280
Introduce the `vim.compat` module, to help environments with system Lua
5.2+ run the build/tests. Include the module implicitly in all tests.
ref #8677
legacy `vim` module:
beep
buffer
command
dict
eval
firstline
lastline
line
list
open
type
window
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 7921cc05bf..272b80466c 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -1,8 +1,8 @@ +require('vim.compat') require('coxpcall') local luv = require('luv') local lfs = require('lfs') local global_helpers = require('test.helpers') -local unpack = table.unpack or unpack -- luacheck: ignore -- nvim client: Found in .deps/usr/share/lua/<version>/nvim/ if "bundled". local Session = require('nvim.session') |