summaryrefslogtreecommitdiff
path: root/.luacheckrc
diff options
context:
space:
mode:
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc10
1 files changed, 7 insertions, 3 deletions
diff --git a/.luacheckrc b/.luacheckrc
index a3875f91..8c965f6b 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -4,9 +4,6 @@ stds.nvim = {
globals = {
"lvim",
vim = { fields = { "g" } },
- "CONFIG_PATH",
- "CACHE_PATH",
- "DATA_PATH",
"TERMINAL",
"USER",
"C",
@@ -21,11 +18,18 @@ stds.nvim = {
"jit",
"os",
"vim",
+ "join_paths",
+ "get_runtime_dir",
+ "get_config_dir",
+ "get_cache_dir",
+ "get_version",
-- vim = { fields = { "cmd", "api", "fn", "o" } },
},
}
std = "lua51+nvim"
+files["tests/*_spec.lua"].std = "lua51+nvim+busted"
+
-- Don't report unused self arguments of methods.
self = false