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

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