fix: remove vim from std for older luacheck compatibility
This commit is contained in:
parent
ba42701d43
commit
0b992ef288
1 changed files with 4 additions and 8 deletions
12
.luacheckrc
12
.luacheckrc
|
|
@ -1,20 +1,16 @@
|
||||||
-- Neovim globals and std
|
-- luacheck config for Neovim
|
||||||
std = "lua51+vim"
|
std = "lua51"
|
||||||
|
|
||||||
-- Globals provided by Neovim
|
globals = {
|
||||||
read_globals = {
|
|
||||||
"vim",
|
"vim",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Ignore max line length warnings
|
|
||||||
ignore = {
|
ignore = {
|
||||||
"631", -- max_line_length
|
"631",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Don't report unused self arguments in methods
|
|
||||||
self = false
|
self = false
|
||||||
|
|
||||||
-- Exclude third-party code
|
|
||||||
exclude_files = {
|
exclude_files = {
|
||||||
"lua/custom/plugins/lazy.lua",
|
"lua/custom/plugins/lazy.lua",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue