Justin M. Keyes
1ef030f162
fix(help): :helptags regressions
...
Problem:
Parent commit regressed some behavior of the old C helptags-gen impl:
- helpfiles in sub-directories are named by basename, so :help fails
- "help-tags" always names "tags", never "tags-nl"
- E150 E151 E152 E153 are never reported
- existing tags file is not overwritten if no tags were found
- a duplicate tag aborts the run, skipping the remaining directories
- `*.TXT` and `*.FRX` (uppercase) are not recognized as helpfiles
- tree-sitter-vimdoc accepts tags that the C parser rejected: `*a|b*`
(breaks |links|) and unterminated `*tag`
- PUC Lua "<" compares with (localized) `strcoll()`, so the tags file is
not sorted by byte value (E432)
- requiring `vim.treesitter` at load time breaks :help itself, not just
:helptags, where the module is unavailable
- `vim.pack` runs :helptags for plugins that have no "doc/" directory,
so every install/update emits E150
Solution:
- Fail the build if generating helptags reports any `v:errmsg`.
- Restore old behavior: tags generated for runtime/doc are now identical
to those from the C implementation. Errors are non-fatal messages
instead of exceptions, so all directories are still processed.
- Load treesitter lazily, report a plain error if parser is missing.
2026-08-25 13:32:25 +02:00
..
2026-06-22 15:56:26 +02:00
2026-08-23 12:38:07 -04:00
2026-08-23 15:04:11 -04:00
2026-08-24 08:15:10 +08:00
2026-05-16 10:14:18 -04:00
2026-08-23 12:38:07 -04:00
2025-11-28 10:10:31 +08:00
2026-08-25 13:32:25 +02:00
2026-08-22 17:29:34 +02:00
2026-02-12 13:46:45 +01:00
2026-05-13 13:14:07 +01:00
2024-05-15 23:19:26 +02:00
2026-07-12 11:57:17 -04:00
2026-07-18 04:29:51 -04:00
2026-06-29 13:10:31 -04:00
2026-08-04 05:19:54 -04:00
2026-08-01 17:48:32 -04:00
2025-11-10 11:13:56 +08:00
2026-08-14 07:46:52 +08:00
2026-03-16 07:46:34 -04:00
2026-08-09 00:49:20 +00:00
2026-08-01 17:48:32 -04:00
2025-12-06 20:33:02 -05:00
2025-05-03 10:08:53 -07:00
2025-05-03 10:08:53 -07:00
2023-06-25 17:14:28 +02:00
2026-04-03 21:38:44 +08:00
2025-09-07 20:45:22 -07:00
2026-08-04 06:20:16 -04:00
2026-07-29 09:03:53 -04:00
2026-04-18 15:38:59 -04:00
2026-03-15 19:02:49 -04:00
2025-11-10 11:13:56 +08:00
2026-07-27 06:25:21 -04:00
2026-01-27 17:14:57 -05:00
2025-11-10 11:13:56 +08:00
2026-08-04 20:48:44 +02:00
2026-08-24 14:35:25 +08:00
2026-08-17 13:37:08 -04:00
2026-04-16 10:48:11 -04:00
2025-11-10 11:13:56 +08:00
2025-11-10 11:13:56 +08:00
2026-01-26 07:05:42 +08:00
2026-01-26 07:05:42 +08:00
2026-08-07 11:27:19 -04:00
2026-03-23 17:41:48 -04:00
2026-07-13 19:44:15 +02:00
2026-06-23 10:08:50 -04:00
2026-08-25 03:58:17 -04:00
2025-12-15 13:55:15 -05:00
2026-03-16 10:29:58 +01:00
2026-07-25 10:36:56 -07:00
2026-04-17 09:50:03 +08:00
2026-08-07 16:10:02 -04:00
2025-11-10 11:13:56 +08:00
2026-08-01 17:48:32 -04:00
2025-09-28 20:57:59 -07:00
2026-08-06 10:27:29 +02:00
2026-05-07 10:36:55 +02:00
2026-07-18 04:29:51 -04:00
2026-08-25 10:52:12 +02:00
2026-05-14 13:13:30 -04:00
2026-08-25 03:58:17 -04:00
2026-07-31 19:20:34 +03:00
2026-05-10 14:22:31 -04:00
2025-11-10 11:13:56 +08:00
2025-12-15 13:55:15 -05:00
2025-11-10 11:13:56 +08:00
2023-01-01 15:05:13 +01:00
2026-04-16 22:19:48 +08:00
2025-05-20 00:21:30 +00:00
2026-08-23 12:38:07 -04:00
2026-02-04 13:53:08 -05:00
2026-05-29 09:35:37 +08:00
2026-07-27 11:12:47 -04:00
2026-05-16 08:07:22 +08:00
2025-11-10 11:13:56 +08:00
2026-05-20 05:21:27 -04:00
2026-08-23 13:58:45 -04:00
2025-11-10 11:13:56 +08:00
2025-11-10 11:13:56 +08:00
2025-11-10 11:13:56 +08:00
2026-07-26 09:00:30 +08:00
2026-07-31 21:50:04 +02:00
2026-04-22 18:25:07 -04:00
2026-08-14 08:47:30 +08:00
2026-05-17 10:02:12 -04:00
2026-08-01 17:48:32 -04:00
2026-08-06 10:27:29 +02:00
2025-11-10 11:13:56 +08:00
2026-08-01 17:48:32 -04:00
2026-07-30 05:50:39 -04:00
2026-06-08 11:43:52 +08:00
2026-03-24 00:14:55 +01:00
2026-04-17 09:50:03 +08:00
2026-05-07 10:36:48 +02:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-06-01 01:04:30 +00:00
2026-05-07 08:32:27 -04:00
2026-06-26 06:17:00 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-24 00:10:36 +00:00
2026-07-25 12:47:51 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-07-13 17:57:13 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-05-07 08:32:27 -04:00
2026-07-27 06:25:21 -04:00
2026-08-06 10:27:29 +02:00
2026-08-15 13:34:51 -04:00
2026-08-17 13:37:08 -04:00
2026-08-24 14:35:25 +08:00
2026-08-17 13:37:08 -04:00
2026-08-14 09:30:31 -04:00
2026-07-18 04:29:51 -04:00
2026-07-30 15:09:19 -04:00
2026-08-03 15:22:25 -05:00