docs: docs: use codeblocks in runtime/doc/options.txt (#21919)

ensure correct parsing with tree-sitter

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
Sizhe Zhao 2023-01-21 00:29:15 +08:00 committed by GitHub
parent d8d39344e3
commit c41214c7d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3843,21 +3843,21 @@ A jump table for the options with a short description can be found at |Q_op|.
The third character is optional.
tab:xy The 'x' is always used, then 'y' as many times as will
fit. Thus "tab:>-" displays:
fit. Thus "tab:>-" displays: >
>
>-
>--
etc.
<
tab:xyz The 'z' is always used, then 'x' is prepended, and
then 'y' is used as many times as will fit. Thus
"tab:<->" displays:
"tab:<->" displays: >
>
<>
<->
<-->
etc.
<
When "tab:" is omitted, a tab is shown as ^I.
*lcs-space*
space:c Character to show for a space. When omitted, spaces
@ -3869,22 +3869,25 @@ A jump table for the options with a short description can be found at |Q_op|.
setting, except for single spaces. When omitted, the
"space" setting is used. For example,
`:set listchars=multispace:---+` shows ten consecutive
spaces as:
---+---+-- ~
spaces as: >
---+---+--
<
*lcs-lead*
lead:c Character to show for leading spaces. When omitted,
leading spaces are blank. Overrides the "space" and
"multispace" settings for leading spaces. You can
combine it with "tab:", for example: >
:set listchars+=tab:>-,lead:.
< *lcs-leadmultispace*
<
*lcs-leadmultispace*
leadmultispace:c...
Like the |lcs-multispace| value, but for leading
spaces only. Also overrides |lcs-lead| for leading
multiple spaces.
`:set listchars=leadmultispace:---+` shows ten
consecutive leading spaces as:
---+---+--XXX ~
consecutive leading spaces as: >
---+---+--XXX
<
Where "XXX" denotes the first non-blank characters in
the line.
*lcs-trail*