glepnir
3fa5904cf2
fix(lsp): multibyte fragment treated as commit char #41019
...
Problem:
commit_chars_str() reads a 0x80-0xBF byte as a 2-byte lead, so
"\xA9x" makes "x" a commit character. nvim_get_hl() returns
a dict, so `#` on it is 0 whether or not the group exists
Solution:
use vim.str_utf_end() and drop entries that are not one whole
character. use next check dict length.
2026-07-28 08:39:03 -04:00
..
2026-07-27 06:31:40 +08:00
2026-02-01 08:22:07 +08:00
2026-07-25 06:26:55 +08:00
2026-07-28 07:24:58 -04:00
2026-07-26 12:27:30 -04:00
2026-07-27 06:31:33 +08:00
2026-01-26 06:53:53 +08:00
2026-07-28 08:39:03 -04:00
2026-07-24 08:14:20 +08:00
2026-07-27 18:30:54 -04:00
2026-07-22 12:03:34 -04:00
2026-07-23 17:27:14 -04:00
2022-03-13 04:52:45 +00:00
2026-07-27 06:31:58 +08:00
2026-05-13 07:31:17 -04:00
2026-04-14 11:13:03 -05:00
2023-08-13 13:25:10 +01:00
2025-12-30 01:44:24 -05:00
2026-05-17 09:56:37 -04:00
2026-03-12 11:12:56 +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
2025-08-22 19:10:43 +02:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2026-07-18 22:19:48 +08:00
2026-01-20 07:56:50 +08:00
2022-10-13 05:48:12 -07:00
2026-04-14 11:13:03 -05:00
2026-04-14 11:13:03 -05:00
2026-07-18 22:19:48 +08:00
2024-07-02 13:05:16 +02:00