Files
neovim/scripts
Yee Cheng Chin 10ab7489eb fix(docs-html): misaligned tabs after conceal #20690
Problem:
`gen_help_html.lua` does not properly handle tab characters after
"concealed" text (tags, taglinks, codespans). This causes misaligned
layout in "old" (preformatted) docs.

For text like `*tag*`, |tag_link|, and `code_span`, Vim hides the "*",
"|", "`" characters, but Vim still counts those characters for "virtual
column" when a tab character follows it. So if you have a tag of say
6 characters long, those two concealed character would lead to the tab
character after it start at column 8. gen_help_html.lua doesn't account
for that which leads to formatting flaws in the generated output.

Solution:
Add two spaces after concealed nodes that are followed by a tab char.
2022-10-20 03:22:46 -07:00
..
2022-06-28 04:02:29 -07:00
2022-10-09 05:21:52 -07:00
2022-01-04 07:28:29 -07:00
2022-06-15 09:20:32 +02:00
2022-10-10 12:21:19 +01:00
2021-10-02 08:26:57 -07:00
2021-09-19 16:36:08 -07:00