diff options
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc index b945835bba..a628daed80 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,7 +1,14 @@ -- 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. +files["src/nvim/lua/vim.lua"] = {ignore = { "122/vim" }} -- Don't report unused self arguments of methods. self = false |