summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/lua/xdiff_spec.lua
AgeCommit message (Collapse)AuthorFiles
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-07-12refactor(lua): rename vim.diff => vim.text.diff #34864Justin M. Keyes1
Problem: `vim.diff()` was introduced before we had the `vim.text` module, where it obviously belongs. Solution: Move it.
2024-09-30test: refactor exec_lua in xdiff_specLewis Russell1
2024-09-30fix(diff): use mmfile_t in linematchLewis Russell1
Problem: Linematch used to use strchr to navigate a string, however strchr does not supoprt embedded NULs. Solution: Use `mmfile_t` instead of `char *` in linematch and introduce `strnchr()`. Also remove heap allocations from `matching_char_iwhite()` Fixes: #30505
2024-04-23test: improve test conventionsdundargoc1
Specifically, functions that are run in the context of the test runner are put in module `test/testutil.lua` while the functions that are run in the context of the test session are put in `test/functional/testnvim.lua`. Closes https://github.com/neovim/neovim/issues/27004.
2024-04-10refactor(test): inject after_each differentlyLewis Russell1
2024-04-08test: improve test conventionsdundargoc1
Work on https://github.com/neovim/neovim/issues/27004.
2024-02-13refactor(lua): use a keyset for vim.diff opts parsingbfredl1
2024-01-03refactor: format test/*Justin M. Keyes1
2022-11-14feat(test): add Lua forms for API methods (#20152)Lewis Russell1
2022-02-05fix(diff): make algorithm work for vim.diff (#17300)Lewis Russell1
Fixes #17207
2021-08-22feat(api): add lua C bindings for xdiff (#14536)Lewis Russell1
* feat(api): add lua C bindings for xdiff * chore: opt.hunk_lines -> opt.result_type opt.on_hunk now takes precedence over opt.result_type * chore: fix indents Fix indents * chore: change how priv is managed Assign priv NULL and unconditionally apply XFREE_CLEAR to it when finished.