avante.nvim/.luacheckrc

21 lines
596 B
Plaintext
Raw Permalink Normal View History

2024-08-12 23:53:28 +08:00
-- Rerun tests only if their modification time changed.
cache = true
-- Glorious list of warnings: https://luacheck.readthedocs.io/en/stable/warnings.html
ignore = {
'211',
'631',
'212', -- Unused argument, In the case of callback function, _arg_name is easier to understand than _, so this option is set to off.
'411', -- Redefining a local variable.
'412', -- Redefining an argument.
'422', -- Shadowing an argument
'431', -- Shadowing a variable
'122', -- Indirectly setting a readonly global
}
-- Global objects defined by the C code
read_globals = {
'vim',
2025-01-24 12:47:26 +08:00
'Snacks',
2024-08-12 23:53:28 +08:00
}