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 /runtime/lua/man.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 'runtime/lua/man.lua')
-rw-r--r-- | runtime/lua/man.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lua/man.lua b/runtime/lua/man.lua index 0c67e45dc4..e9f60138f4 100644 --- a/runtime/lua/man.lua +++ b/runtime/lua/man.lua @@ -1,5 +1,6 @@ +require('vim.compat') + local buf_hls = {} -local unpack = table.unpack or unpack -- luacheck: ignore local function highlight_line(line, linenr) local chars = {} |