diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-07-21 08:56:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-21 08:56:42 -0400 |
| commit | 6d5b774362e9d9b586280c723060813ed7ca8757 (patch) | |
| tree | 9d881164f123785406dfb27a666b8e37af1a80b9 /runtime/syntax/python.vim | |
| parent | f907614088357d5e873e161daee5ac55ec9437bf (diff) | |
| download | rneovim-6d5b774362e9d9b586280c723060813ed7ca8757.tar.gz rneovim-6d5b774362e9d9b586280c723060813ed7ca8757.tar.bz2 rneovim-6d5b774362e9d9b586280c723060813ed7ca8757.zip | |
build(luals): drop src/.luarc.json, test/.luarc.json #40887
Problem:
emmylua reports `unresolved-require` for `require('test.testutil')` and
friends, and a file under `test/` cannot even resolve its own siblings.
This happens because `test/.emmyrc.json` and `test/.luarc.json`, cause
vim.lsp to root the workspace at `test/` instead of the repo top-level.
Solution:
Drop the nested configs:
src/.luarc.json
test/.luarc.json
test/.emmyrc.json
Outcomes:
- No "libraries" needed: luv types come from `runtime/lua/uv/_meta.lua`,
not `${3rd}/luv` (which would only duplicate them).
- Drop `test/` from the root `.luarc.json` `ignoreDir` so its modules are
resolvable by LuaLS/Emmylua.
- Note: this means that LuaLS diagnostics will now be reported for
`test/`, but that is not a bad thing...
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions