mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
luacheck: Enforce compatibility with Lua5.1
However, allow reading "jit" since we want to support running differently under LuaJIT.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user