build: move all generator scripts to src/gen/

- 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')`
This commit is contained in:
Lewis Russell
2025-02-26 11:38:07 +00:00
committed by Lewis Russell
parent 85caaa70d4
commit 0f24b0826a
38 changed files with 98 additions and 60 deletions

1041
src/gen/gen_vimdoc.lua Executable file

File diff suppressed because it is too large Load Diff