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
|
||||
std = "lua51+vim"
|
||||
-- luacheck config for Neovim
|
||||
std = "lua51"
|
||||
|
||||
-- Globals provided by Neovim
|
||||
read_globals = {
|
||||
globals = {
|
||||
"vim",
|
||||
}
|
||||
|
||||
-- Ignore max line length warnings
|
||||
ignore = {
|
||||
"631", -- max_line_length
|
||||
"631",
|
||||
}
|
||||
|
||||
-- Don't report unused self arguments in methods
|
||||
self = false
|
||||
|
||||
-- Exclude third-party code
|
||||
exclude_files = {
|
||||
"lua/custom/plugins/lazy.lua",
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue