summaryrefslogtreecommitdiffstatshomepage
path: root/src/gen/gen_api_dispatch.lua
AgeCommit message (Collapse)AuthorFiles
2026-03-09fix: resolve all remaining LuaLS warnings in `src/`Riccardo Mazzarini1
2026-03-09fix: silence LuaLS's `no-unknown` warnings in `src/`Riccardo Mazzarini1
2026-01-21fix(lua): correct line number reporting for options set in coroutines (#37463)Tommy Guo1
2025-10-29refactor(build): split out metadata stepbfredl1
This was part of an attempt to add "git describe" to zig build without re-building too much. This doesn't yet work as zig upstream changes are are also needed, but I think this was a sensible refactor even in isolation, so breaking it out. "API dispatch" doesn't depend on any ui event stuff nor on version, that was just an accident of the metadata collection being crammed into the same file. Remove "manual invocation" instruction. this is going to bitrot anyway. Both cmake and build.zig allows you to extract the command line of a step, so you can debug it separately.
2025-09-15build(ci): bump zig to 0.15.1 and add more platformsbfredl1
- Bump zig version to 0.15.1 and workaround zig fetch hang (ziglang/zig#24916) - add mac os zig build (currently without luajit, linker failure) - Add windows zig build, currently with very limited testing
2025-09-04docs: api eventsJustin M. Keyes1
2025-08-28refactor(lua): consistent use of local aliasesChristian Clason1
2025-06-26docs(api): document types using LuaCATS typesLewis Russell1
- Render Lua types in api.txt. - Added `DictAs(name)` API type which acts the same as `Dict` (no parens) when generating the dispatchers, but acts the same as `Dict(name)` when generating docs. - Added `Tuple(...)` API type which is the treated the as `Array` for generating the dispatchers, but is used to document richer types. - Added `Enum(...)` API type to better document enums - Improve typing of some API functions. - Improve c_grammar to properly parse API types and replace string pattern logic in the parsers. - Removed all the hardcoded type overrides in gen_eval_files.lua
2025-05-02feat(build): build.zig MVP: build and run functionaltests on linuxbfredl1
NEW BUILD SYSTEM! This is a MVP implementation which supports building the "nvim" binary, including cross-compilation for some targets. As an example, you can build a aarch64-macos binary from an x86-64-linux-gnu host, or vice versa Add CI target for build.zig currently for functionaltests on linux x86_64 only Follow up items: - praxis for version and dependency bumping - windows 💀 - full integration of libintl and gettext (or a desicion not to) - update help and API metadata files - installation into a $PREFIX - more tests and linters
2025-03-18docs: misc #32959Justin M. Keyes1
2025-02-26build: move all generator scripts to `src/gen/`Lewis Russell1
- 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')`