2019-07-03 20:30:16 -07:00
|
|
|
-- vim: ft=lua tw=80
|
|
|
|
|
|
|
|
-- Ignore W211 (unused variable) with preload files.
|
|
|
|
files["**/preload.lua"] = {ignore = { "211" }}
|
Lua: vim.env, vim.{g,v,w,bo,wo} #11442
- Add vim variable meta accessors: vim.env, vim.{g,v,w,bo,wo}
- Redo gen_char_blob to generate multiple blobs instead of just one
so that multiple Lua modules can be inlined.
- Reorder vim.lua inclusion so that it can use previously defined C
functions and utility functions like vim.shared and vim.inspect things.
- Inline shared.lua into nvim, but also keep it available in runtime.
2019-11-24 03:28:48 -07:00
|
|
|
-- Allow vim module to modify itself, but only here.
|
|
|
|
files["src/nvim/lua/vim.lua"] = {ignore = { "122/vim" }}
|
2019-07-03 20:30:16 -07:00
|
|
|
|
|
|
|
-- Don't report unused self arguments of methods.
|
|
|
|
self = false
|
|
|
|
|
|
|
|
-- Rerun tests only if their modification time changed.
|
|
|
|
cache = true
|
|
|
|
|
|
|
|
ignore = {
|
|
|
|
"631", -- max_line_length
|
2019-07-16 13:02:50 -07:00
|
|
|
"212/_.*", -- unused argument, for vars with "_" prefix
|
2019-07-03 20:30:16 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
-- Global objects defined by the C code
|
|
|
|
read_globals = {
|
|
|
|
"vim",
|
|
|
|
}
|