mirror of
https://github.com/neovim/neovim
synced 2025-07-15 08:41:47 +00:00
- Move all generator Lua scripts to the `src/gen/` - Add a `.luarc.json` to `src/gen/` - Add a `preload.lua` to `src/gen/` - Add `src` to `package.path` so it aligns with `.luarc.json' - Fix all `require` statements in `src/gen/` so they are consistent: - `require('scripts.foo')` -> `require('gen.foo')` - `require('src.nvim.options')` -> `require('nvim.options')` - `require('api.dispatch_deprecated')` -> `require('nvim.api.dispatch_deprecated')`
30 lines
630 B
JSON
30 lines
630 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
|
"runtime": {
|
|
"version": "LuaJIT"
|
|
},
|
|
"workspace": {
|
|
"library": [
|
|
"../runtime/lua",
|
|
"../src",
|
|
"../build/usr/share/lua/5.1",
|
|
"../build",
|
|
"${3rd}/busted/library",
|
|
"${3rd}/luassert/library",
|
|
"${3rd}/luv/library"
|
|
],
|
|
"checkThirdParty": "Disable"
|
|
},
|
|
"diagnostics": {
|
|
"groupFileStatus": {
|
|
"strict": "Opened",
|
|
"strong": "Opened"
|
|
},
|
|
"groupSeverity": {
|
|
"strong": "Warning",
|
|
"strict": "Warning"
|
|
},
|
|
"unusedLocalExclude": [ "_*" ]
|
|
}
|
|
}
|