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
..
bump_deps.lua build: rename build-related dirs 2022-06-28 04:02:29 -07:00
bump-deps.sh docs: various #12823 2022-10-09 05:21:52 -07:00
check_urls.vim vim-patch: move test_urls.vim out of runtime/ 2018-11-12 12:36:40 -05:00
download-unicode-files.sh build: move unicode/ to src/unicode/ 2022-06-28 04:05:11 -07:00
gen_filetype.lua feat: filetype.lua (#16600) 2022-01-04 07:28:29 -07:00
gen_help_html.lua fix(docs-html): misaligned tabs after conceal #20690 2022-10-20 03:22:46 -07:00
gen_vimdoc.py docs: fix/remove invalid URLs #20647 2022-10-14 08:01:13 -07:00
genappimage.sh genappimage.sh: migrate to linuxdeploy #10027 2019-05-18 20:38:19 +02:00
genvimvim.lua vim-patch:8c1b8cb2e0b5 (#18966) 2022-06-15 09:20:32 +02:00
git-log-pretty-since.sh release.sh: Format issue-numbers in descriptions [ci skip] 2019-01-04 06:03:47 +01:00
legacy2luatest.pl legacy2luatest: Use before_each instead of setup. 2016-02-01 09:09:08 +01:00
lintcommit.lua feat(lintcommit): remove "chore", add "dist" #18594 2022-05-17 05:42:48 -07:00
lua2dox_filter refactor(lua2dox_filter): format 2022-10-10 12:21:40 +01:00
lua2dox.lua refactor(lua2dox): tidy 2022-10-10 12:21:19 +01:00
movedocs.pl Move documentation from function declarations to definitions 2014-06-02 11:04:04 -03:00
pvscheck.sh refactor: fix clang and PVS warnings (#19569) 2022-07-29 14:44:18 +08:00
release.sh fix(release.sh): ignore failed "rm" 2021-10-02 08:26:57 -07:00
shadacat.py Merge #11319 'inccommand: fix issues with modifiers and prompting' 2019-11-05 17:34:21 -08:00
update_terminfo.sh feat(terminfo): bump built-in terminfo entries (#18570) 2022-05-16 01:45:34 +02:00
vim-patch.sh feat(runtime)!: remove filetype.vim (#20428) 2022-10-17 08:52:40 +02:00
vimpatch.lua build(lint): check scripts/*.lua 2021-09-19 16:36:08 -07:00
windows.ti fix(terminfo): disable smglr for vtpcon and conemu (#18855) 2022-06-05 14:39:56 +02:00