mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
d0d38fc36e
- 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.
23 lines
537 B
Lua
23 lines
537 B
Lua
-- vim: ft=lua tw=80
|
|
|
|
-- Ignore W211 (unused variable) with preload files.
|
|
files["**/preload.lua"] = {ignore = { "211" }}
|
|
-- Allow vim module to modify itself, but only here.
|
|
files["src/nvim/lua/vim.lua"] = {ignore = { "122/vim" }}
|
|
|
|
-- 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
|
|
"212/_.*", -- unused argument, for vars with "_" prefix
|
|
}
|
|
|
|
-- Global objects defined by the C code
|
|
read_globals = {
|
|
"vim",
|
|
}
|