summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_core/shared.lua
AgeCommit message (Collapse)AuthorFiles
2026-04-18fix(lua): make `vim._with()` work with `buf=0` and `win=0` context #39151Evgeni Chasnovski1
Problem: Using `buf=0`/`win=0` context in `vim._with` should be equivalent to using explicit buffer/window identifier respectively. Solution: Explicitly adjust context in case of `buf=0` or `win=0`.
2026-04-15test: replace busted with local harnessLewis Russell1
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
2026-04-15fix(lua): make vim.deep_equal cycle-safeLewis Russell1
AI-assisted: Codex
2026-04-01docs: misc #38584Justin M. Keyes1
2026-03-28docs: news #38464Justin M. Keyes1
2026-03-13refactor: rename _ensure_integer => _assert_integerJustin M. Keyes1
2026-03-12refactor: integer functions, optimize asserts #34112Lewis Russell1
refactor(lua): add integer coercion helpers Add vim._tointeger() and vim._ensure_integer(), including optional base support, and switch integer-only tonumber()/assert call sites in the Lua runtime to use them. This also cleans up related integer parsing in LSP, health, loader, URI, tohtml, and Treesitter code. supported by AI
2026-03-11docs: api, messages, lsp, trustJustin M. Keyes1
gen_vimdoc.lua: In prepare for the upcoming release, comment-out the "Experimental" warning for prerelease features.
2026-02-10feat(lua): add `Iter:unique()` (#37592)Olivia Kinnear1
2026-01-11fix(lua): vim._with() doesn't save boolean options properly (#37354)zeertzjq1
Problem: vim._with() doesn't save boolean options with false values properly. Solution: Use vim.F.if_nil().
2025-12-30build: move shared.lua to _core/Justin M. Keyes1