luacheck: Enforce compatibility with Lua5.1
However, allow reading "jit" since we want to support running differently under LuaJIT.
This commit is contained in:
parent
82bfdbfe5c
commit
817522b231
|
@ -1,5 +1,10 @@
|
|||
-- vim: ft=lua tw=80
|
||||
|
||||
stds.nvim = {
|
||||
read_globals = { "jit" }
|
||||
}
|
||||
std = "lua51+nvim"
|
||||
|
||||
-- Ignore W211 (unused variable) with preload files.
|
||||
files["**/preload.lua"] = {ignore = { "211" }}
|
||||
-- Allow vim module to modify itself, but only here.
|
||||
|
|
Loading…
Reference in New Issue