summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorAlejandro Exojo <suy@badopi.org>2025-12-15 17:02:10 +0100
committerGitHub <noreply@github.com>2025-12-15 11:02:10 -0500
commit46220afef806e571b408973c51ba72acf009e078 (patch)
treefa4b4153c468b64555f469c45d3220f0fa0a50f1 /runtime/lua/vim/shared.lua
parente265cc28f9def2433566e7b49c3c813dd5c90ad6 (diff)
fix(man.lua): show_toc condition may cause infinite loop #36979
`lnum` gets set with `vim.fn.nextnonblank`, which returns 0 on failure, and which is truthy on Lua.
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions