aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/vim_spec.lua
diff options
context:
space:
mode:
authorJongwook Choi <wookayin@gmail.com>2024-05-14 23:34:14 -0400
committerChristian Clason <c.clason@uni-graz.at>2024-05-16 09:01:05 +0200
commit174da7fe687bd3bf2f6874620e708db24160c4d7 (patch)
tree96d006a05e03d8cc204893400aec58dfbe02da66 /test/functional/lua/vim_spec.lua
parent618e34ca095739935ac436fec58bb2a223ea3dc1 (diff)
downloadrneovim-174da7fe687bd3bf2f6874620e708db24160c4d7.tar.gz
rneovim-174da7fe687bd3bf2f6874620e708db24160c4d7.tar.bz2
rneovim-174da7fe687bd3bf2f6874620e708db24160c4d7.zip
docs(gen_help_html.lua): fix broken pre text, and handle linewrap
Problem: - Since #28678, pre-formatted text in the online documentation do not render whitespaces correctly: should be pre-like text, but shown like normal paragraph (see #28754). - Code blocks with long lines should not be wrapped (e.g. see |dev-vimpatch-list-management|). Solution: - Use `white-space: pre-wrap`. Compared to `white-space: pre`, this option will make long lines including a very long URL wrapped. This properly fixes #28754 and #28678. - Use horizontal scrollbar for the code blocks that are horizontally too long, instead of wrapping text. This will make the code easy to read while the pre-text block not interfering with the navigation bar.
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions