diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-10-01 12:51:16 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2024-10-01 12:51:16 +0200 |
commit | 72892aab066a58524d670777512e9cab45e7310d (patch) | |
tree | ffa471b7bb3f6c8f1ca0105ac15d5fa7cadb87b8 /runtime/lua/vim/_defaults.lua | |
parent | a0c64fe816f82010dea43d8bbe25475fbabfb562 (diff) | |
download | rneovim-72892aab066a58524d670777512e9cab45e7310d.tar.gz rneovim-72892aab066a58524d670777512e9cab45e7310d.tar.bz2 rneovim-72892aab066a58524d670777512e9cab45e7310d.zip |
docs(gen_help_html.lua): h4 pseudo-heading layout
Problem:
The <br> hack in a0c64fe816f8 causes weird layout if a "h4 pseudo-heading"
is not the only tag on the line. For example in the help text below, the
"*'buflisted'*" tag was treated as h4 and followed by <br>, which is
obviously wrong:
*'buflisted'* *'bl'* *'nobuflisted'* *'nobl'* *E85*
'buflisted' 'bl' boolean (default on)
Solution:
Only treat a tag as "h4 pseudo-heading" if it is the only tag in the
line. This is fragile, but in practice seems to get the right balance.
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions