mirror of
https://github.com/neovim/neovim.git
synced 2026-05-06 08:26:45 -04:00
55f9c2136e
Replace the busted-based Lua test runner with a repo-local harness. The new harness runs spec files directly under `nvim -ll`, ships its own reporter and lightweight `luassert` shim, and keeps the helper/preload flow used by the functional and unit test suites. Keep the file boundary model shallow and busted-like by restoring `_G`, `package.loaded`, `package.preload`, `arg`, and the process environment between files, without carrying extra reset APIs or custom assertion machinery. Update the build and test entrypoints to use the new runner, add black-box coverage for the harness itself, and drop the bundled busted/luacheck dependency path. AI-assisted: Codex
29 lines
543 B
JSON
29 lines
543 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
|
"runtime": {
|
|
"version": "LuaJIT"
|
|
},
|
|
"workspace": {
|
|
"ignoreDir": [
|
|
".deps",
|
|
"build",
|
|
"test"
|
|
],
|
|
"checkThirdParty": "Disable"
|
|
},
|
|
"diagnostics": {
|
|
"groupFileStatus": {
|
|
"strict": "Opened",
|
|
"strong": "Opened"
|
|
},
|
|
"groupSeverity": {
|
|
"strong": "Warning",
|
|
"strict": "Warning"
|
|
},
|
|
"unusedLocalExclude": [ "_*" ],
|
|
"disable": [
|
|
"luadoc-miss-see-name"
|
|
]
|
|
}
|
|
}
|