commit 5ef567d13049792cf00e3a50961353908f791d4b parent 68f40386ed8cf813a7ae8443628b950e7707dc3e Author: zeertzjq <zeertzjq@outlook.com> Date: Sun, 14 Sep 2025 08:38:06 +0800 build(gen_helptags): update check for example (#35750) Follow-up to ae588c183f030878d330fa4fb010c48ce14c34e2. Diffstat:
| M | src/gen/gen_helptags.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gen/gen_helptags.lua b/src/gen/gen_helptags.lua @@ -48,7 +48,7 @@ for _, fn in ipairs(files) do end end - if line == '>' or vim.endswith(line, ' >') then + if line:find('^>[a-z0-9]*$') or line:find(' >[a-z0-9]*$') then in_example = true end end