feat: update documentation and configuration files for Neovim setup
Signed-off-by: juliano.barbosa <julianomb@gmail.com>
This commit is contained in:
parent
76edf81b0a
commit
7128ca764c
47 changed files with 1956 additions and 1147 deletions
51
.luacheckrc
Normal file
51
.luacheckrc
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
-- Global objects
|
||||
globals = {
|
||||
"vim",
|
||||
"assert",
|
||||
"after_each",
|
||||
"before_each",
|
||||
"describe",
|
||||
"it",
|
||||
"teardown",
|
||||
"pending",
|
||||
}
|
||||
|
||||
-- Rerun tests only if their modification time changed
|
||||
cache = true
|
||||
|
||||
-- Don't report unused self arguments of methods
|
||||
self = false
|
||||
|
||||
-- Redefine these functions to support OpenResty AWS Lambda
|
||||
read_globals = {
|
||||
"ngx",
|
||||
"jit",
|
||||
"require",
|
||||
"package",
|
||||
"string",
|
||||
"table",
|
||||
"math",
|
||||
"io",
|
||||
"os",
|
||||
"print",
|
||||
"tonumber",
|
||||
"tostring",
|
||||
"type",
|
||||
"select",
|
||||
"pairs",
|
||||
"ipairs",
|
||||
"next",
|
||||
"error",
|
||||
"pcall",
|
||||
"xpcall",
|
||||
"unpack",
|
||||
}
|
||||
|
||||
-- Maximum line length
|
||||
max_line_length = 120
|
||||
|
||||
-- Don't report unused arguments
|
||||
unused_args = false
|
||||
|
||||
-- Don't check unreachable code
|
||||
unreachable = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue