Browse Source
luacheck: Enforce compatibility with Lua5.1
However, allow reading "jit" since we want to support running
differently under LuaJIT.
pull/12699/head
James McCoy
5 months ago
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
1 changed files with
5 additions and
0 deletions
-
.luacheckrc
|
|
@ -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. |
|
|
|