You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
727 B
29 lines
727 B
stds.nvim = {
|
|
globals = {
|
|
vim = { fields = { "g", "opt" } },
|
|
table = { fields = { "unpack" } },
|
|
package = { fields = { "searchers" } },
|
|
doom = { fields = { "packages", "binds", "autocmds" } },
|
|
_doom = { fields = { "cmp_enable" } }
|
|
},
|
|
read_globals = {
|
|
"vim",
|
|
"jit",
|
|
"packer_plugins",
|
|
"doom",
|
|
"_doom"
|
|
},
|
|
}
|
|
std = "lua51+nvim"
|
|
|
|
-- Rerun tests only if their modification time changed.
|
|
cache = true
|
|
|
|
-- NOTE: rules from 200...400 are specific for Neovim stuff, e.g. vim.opt
|
|
ignore = {
|
|
"212/_.*", -- Unused argument, for variables with "_" prefix.
|
|
"331", -- Value assigned to a local variable is mutated but never accessed.
|
|
"631", -- Line is too long.
|
|
}
|
|
|
|
-- vim: ft=lua sw=2 ts=2
|
|
|