summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_meta/diff.lua
AgeCommit message (Collapse)AuthorFiles
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-26fix: lua annotationsLewis Russell1
2023-09-14docs: replace <pre> with ``` (#25136)Gregory Anders1
2023-07-17fix: luacheckLewis Russell1
2023-07-17docs(lua): move function docs to lua filesLewis Russell1