Formatted with stylua and checked with luacheck

This commit is contained in:
Rene Schallner
2021-11-24 12:49:03 +01:00
parent 7333b76d37
commit 29af4fdcc0
2 changed files with 365 additions and 304 deletions

26
.luacheckrc Normal file
View File

@@ -0,0 +1,26 @@
-- Rerun tests only if their modification time changed.
cache = true
std = luajit
codes = true
self = false
-- Glorious list of warnings: https://luacheck.readthedocs.io/en/stable/warnings.html
ignore = {
"212", -- Unused argument, In the case of callback function, _arg_name is easier to understand than _, so this option is set to off.
"122", -- Indirectly setting a readonly global
}
globals = {
"_",
"TelescopeGlobalState",
"_TelescopeConfigurationValues",
"_TelescopeConfigurationPickers",
"__TelescopeKeymapStore",
}
-- Global objects defined by the C code
read_globals = {
"vim",
}