mirror of
https://github.com/neovim/neovim.git
synced 2026-01-27 07:31:45 +10: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')`
10 lines
303 B
Lua
10 lines
303 B
Lua
return {
|
|
{"major", ${NVIM_VERSION_MAJOR}},
|
|
{"minor", ${NVIM_VERSION_MINOR}},
|
|
{"patch", ${NVIM_VERSION_PATCH}},
|
|
{"prerelease", "${NVIM_VERSION_PRERELEASE}" ~= ""},
|
|
{"api_level", ${NVIM_API_LEVEL}},
|
|
{"api_compatible", ${NVIM_API_LEVEL_COMPAT}},
|
|
{"api_prerelease", ${NVIM_API_PRERELEASE}},
|
|
}
|