LunarVim/.luacheckrc
chaeing 213e3961fa
[Feature] Rename lv-config.lua to config.lua (#1193)
* Rename example config files

* Update user config path in installer

* Update user config path with a variable

* Update default user config file to config.lua

* Add fallback to lv-config if config.lua not found

* Add global variable USER_CONFIG_PATH
2021-07-31 14:28:59 -04:00

38 lines
693 B
Lua

-- vim: ft=lua tw=80
stds.nvim = {
globals = {
"lvim",
vim = { fields = { "g" } },
"CONFIG_PATH",
"CACHE_PATH",
"DATA_PATH",
"TERMINAL",
"USER",
"C",
"Config",
"WORKSPACE_PATH",
"JAVA_LS_EXECUTABLE",
"MUtils",
"USER_CONFIG_PATH",
os = { fields = { "capture" } },
},
read_globals = {
"jit",
"os",
"vim",
-- vim = { fields = { "cmd", "api", "fn", "o" } },
},
}
std = "lua51+nvim"
-- Don't report unused self arguments of methods.
self = false
-- Rerun tests only if their modification time changed.
cache = true
ignore = {
"631", -- max_line_length
"212/_.*", -- unused argument, for vars with "_" prefix
}