aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.luacheckrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 9c8bddb88e..a628daed80 100644
--- a/.luacheckrc
+++ b/.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.