Gregory Anders
33464189bc
fix(vim.text): handle very long strings ( #30075 )
...
Lua's string.byte has a maximum (undocumented) allowable length, so
vim.text.hencode fails on large strings with the error "string slice too
long".
Instead of converting the string to an array of bytes up front, convert
each character to a byte one at a time.
2024-08-17 22:28:03 -05:00
..
2024-08-18 01:19:01 +02:00
2024-08-17 13:03:13 +02:00
2024-07-16 09:43:57 +02:00
2024-08-17 13:03:13 +02:00
2024-08-17 13:03:13 +02:00
2024-08-17 13:03:13 +02:00
2024-06-14 23:58:27 +02:00
2024-08-17 22:28:03 -05:00
2024-02-16 08:57:45 +01:00
2024-07-31 23:06:28 +02:00
2024-07-16 15:07:40 +02:00
2024-07-28 16:13:11 +02:00
2022-03-13 04:52:45 +00:00
2024-08-17 13:03:13 +02:00
2022-08-20 10:04:55 +02:00
2024-08-16 10:35:13 -07:00
2024-02-01 12:06:55 +01:00
2023-08-13 13:25:10 +01:00
2024-06-28 19:58:31 +02:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2024-01-16 17:45:57 +00:00
2023-08-24 11:33:06 +09:00
2024-03-14 15:04:31 +08:00
2022-10-13 05:48:12 -07:00
2024-05-16 14:34:32 +02:00
2022-05-13 11:58:22 -07:00
2019-03-11 21:00:12 +01:00
2024-07-13 08:56:58 +08:00
2024-01-16 17:45:57 +00:00
2024-07-02 13:05:16 +02:00