Files
neovim/runtime/lua
Lewis Russell f31e29fce4 fix(diff): use mmfile_t in linematch
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
(cherry picked from commit c65646c247)
2024-09-30 12:34:01 +01:00
..
2024-09-30 12:34:01 +01:00
2023-09-10 11:43:37 +02:00
2024-05-15 07:18:33 +08:00
2024-07-18 09:44:52 +02:00