vim-patch:partial:235e77a: runtime(doc): Tweak documentation style more in options and ft_hare (#35761)

closes: 18289

235e77a3a3

Skip ft_hare.txt.

Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
zeertzjq
2025-09-15 08:00:43 +08:00
committed by GitHub
parent 7b8b9d270f
commit ca9cc98298
3 changed files with 75 additions and 75 deletions

View File

@@ -967,7 +967,7 @@ A jump table for the options with a short description can be found at |Q_op|.
- A directory name may end in an '/'. - A directory name may end in an '/'.
- For Unix and Win32, if a directory ends in two path separators "//", - For Unix and Win32, if a directory ends in two path separators "//",
the swap file name will be built from the complete path to the file the swap file name will be built from the complete path to the file
with all path separators changed to percent '%' signs. This will with all path separators changed to percent '%' signs. This will
ensure file name uniqueness in the backup directory. ensure file name uniqueness in the backup directory.
On Win32, it is also possible to end with "\\". However, When a On Win32, it is also possible to end with "\\". However, When a
separating comma is following, you must use "//", since "\\" will separating comma is following, you must use "//", since "\\" will
@@ -1034,10 +1034,10 @@ A jump table for the options with a short description can be found at |Q_op|.
*'belloff'* *'bo'* *'belloff'* *'bo'*
'belloff' 'bo' string (default "all") 'belloff' 'bo' string (default "all")
global global
Specifies for which events the bell will not be rung. It is a comma- Specifies for which events the bell will not be rung. It is a comma-
separated list of items. For each item that is present, the bell separated list of items. For each item that is present, the bell will
will be silenced. This is most useful to specify specific events in be silenced. This is most useful to specify specific events in insert
insert mode to be silenced. mode to be silenced.
You can also make it flash by using 'visualbell'. You can also make it flash by using 'visualbell'.
item meaning when present ~ item meaning when present ~
@@ -1067,8 +1067,8 @@ A jump table for the options with a short description can be found at |Q_op|.
(depends on the 'wildmode' setting). (depends on the 'wildmode' setting).
This is most useful to fine tune when in Insert mode the bell should This is most useful to fine tune when in Insert mode the bell should
be rung. For Normal mode and Ex commands, the bell is often rung to be rung. For Normal mode and Ex commands, the bell is often rung to
indicate that an error occurred. It can be silenced by adding the indicate that an error occurred. It can be silenced by adding the
"error" keyword. "error" keyword.
*'binary'* *'bin'* *'nobinary'* *'nobin'* *'binary'* *'bin'* *'nobinary'* *'nobin'*
@@ -1136,11 +1136,11 @@ A jump table for the options with a short description can be found at |Q_op|.
*'breakindentopt'* *'briopt'* *'breakindentopt'* *'briopt'*
'breakindentopt' 'briopt' string (default "") 'breakindentopt' 'briopt' string (default "")
local to window local to window
Settings for 'breakindent'. It can consist of the following optional Settings for 'breakindent'. It can consist of the following optional
items and must be separated by a comma: items and must be separated by a comma:
min:{n} Minimum text width that will be kept after min:{n} Minimum text width that will be kept after
applying 'breakindent', even if the resulting applying 'breakindent', even if the resulting
text should normally be narrower. This prevents text should normally be narrower. This prevents
text indented almost to the right window border text indented almost to the right window border
occupying lots of vertical space when broken. occupying lots of vertical space when broken.
(default: 20) (default: 20)
@@ -1159,8 +1159,8 @@ A jump table for the options with a short description can be found at |Q_op|.
(default: 0) (default: 0)
list:-1 Uses the width of a match with 'formatlistpat' for list:-1 Uses the width of a match with 'formatlistpat' for
indentation. indentation.
column:{n} Indent at column {n}. Will overrule the other column:{n} Indent at column {n}. Will overrule the other
sub-options. Note: an additional indent may be sub-options. Note: an additional indent may be
added for the 'showbreak' setting. added for the 'showbreak' setting.
(default: off) (default: off)
@@ -1350,7 +1350,7 @@ A jump table for the options with a short description can be found at |Q_op|.
faster, see |expr-option-function|. faster, see |expr-option-function|.
If the 'charconvert' expression starts with s: or |<SID>|, then it is If the 'charconvert' expression starts with s: or |<SID>|, then it is
replaced with the script ID (|local-function|). Example: >vim replaced with the script ID (|local-function|). Example: >vim
set charconvert=s:MyConvert() set charconvert=s:MyConvert()
set charconvert=<SID>SomeConvert() set charconvert=<SID>SomeConvert()
< Otherwise the expression is evaluated in the context of the script < Otherwise the expression is evaluated in the context of the script
@@ -1585,7 +1585,7 @@ A jump table for the options with a short description can be found at |Q_op|.
with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U| with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U|
See |complete-functions| for an explanation of how the function is See |complete-functions| for an explanation of how the function is
invoked and what it should return. The value can be the name of a invoked and what it should return. The value can be the name of a
function, a |lambda| or a |Funcref|. See |option-value-function| for function, a |lambda| or a |Funcref|. See |option-value-function| for
more information. more information.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons. security reasons.
@@ -1692,7 +1692,7 @@ A jump table for the options with a short description can be found at |Q_op|.
Only "fuzzy", "popup", "preinsert" and "preview" have an effect when Only "fuzzy", "popup", "preinsert" and "preview" have an effect when
'autocomplete' is enabled. 'autocomplete' is enabled.
This option does not apply to |cmdline-completion|. See 'wildoptions' This option does not apply to |cmdline-completion|. See 'wildoptions'
for that. for that.
*'completeslash'* *'csl'* *'completeslash'* *'csl'*
@@ -2341,7 +2341,7 @@ A jump table for the options with a short description can be found at |Q_op|.
- For Unix and Win32, if a directory ends in two path separators "//", - For Unix and Win32, if a directory ends in two path separators "//",
the swap file name will be built from the complete path to the file the swap file name will be built from the complete path to the file
with all path separators replaced by percent '%' signs (including with all path separators replaced by percent '%' signs (including
the colon following the drive letter on Win32). This will ensure the colon following the drive letter on Win32). This will ensure
file name uniqueness in the preserve directory. file name uniqueness in the preserve directory.
On Win32, it is also possible to end with "\\". However, When a On Win32, it is also possible to end with "\\". However, When a
separating comma is following, you must use "//", since "\\" will separating comma is following, you must use "//", since "\\" will
@@ -3147,7 +3147,7 @@ A jump table for the options with a short description can be found at |Q_op|.
the internal format mechanism. the internal format mechanism.
If the expression starts with s: or |<SID>|, then it is replaced with If the expression starts with s: or |<SID>|, then it is replaced with
the script ID (|local-function|). Example: >vim the script ID (|local-function|). Example: >vim
set formatexpr=s:MyFormatExpr() set formatexpr=s:MyFormatExpr()
set formatexpr=<SID>SomeFormatExpr() set formatexpr=<SID>SomeFormatExpr()
< Otherwise, the expression is evaluated in the context of the script < Otherwise, the expression is evaluated in the context of the script
@@ -3628,7 +3628,7 @@ A jump table for the options with a short description can be found at |Q_op|.
Note: Not used for |<cfile>|. Note: Not used for |<cfile>|.
If the expression starts with s: or |<SID>|, then it is replaced with If the expression starts with s: or |<SID>|, then it is replaced with
the script ID (|local-function|). Example: >vim the script ID (|local-function|). Example: >vim
setlocal includeexpr=s:MyIncludeExpr() setlocal includeexpr=s:MyIncludeExpr()
setlocal includeexpr=<SID>SomeIncludeExpr() setlocal includeexpr=<SID>SomeIncludeExpr()
< Otherwise, the expression is evaluated in the context of the script < Otherwise, the expression is evaluated in the context of the script
@@ -3693,7 +3693,7 @@ A jump table for the options with a short description can be found at |Q_op|.
when the expression is evaluated (but it may be moved around). when the expression is evaluated (but it may be moved around).
If the expression starts with s: or |<SID>|, then it is replaced with If the expression starts with s: or |<SID>|, then it is replaced with
the script ID (|local-function|). Example: >vim the script ID (|local-function|). Example: >vim
set indentexpr=s:MyIndentExpr() set indentexpr=s:MyIndentExpr()
set indentexpr=<SID>SomeIndentExpr() set indentexpr=<SID>SomeIndentExpr()
< Otherwise, the expression is evaluated in the context of the script < Otherwise, the expression is evaluated in the context of the script
@@ -4731,7 +4731,7 @@ A jump table for the options with a short description can be found at |Q_op|.
completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O| completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O|
See |complete-functions| for an explanation of how the function is See |complete-functions| for an explanation of how the function is
invoked and what it should return. The value can be the name of a invoked and what it should return. The value can be the name of a
function, a |lambda| or a |Funcref|. See |option-value-function| for function, a |lambda| or a |Funcref|. See |option-value-function| for
more information. more information.
This option is usually set by a filetype plugin: This option is usually set by a filetype plugin:
|:filetype-plugin-on| |:filetype-plugin-on|
@@ -4743,7 +4743,7 @@ A jump table for the options with a short description can be found at |Q_op|.
global global
This option specifies a function to be called by the |g@| operator. This option specifies a function to be called by the |g@| operator.
See |:map-operator| for more info and an example. The value can be See |:map-operator| for more info and an example. The value can be
the name of a function, a |lambda| or a |Funcref|. See the name of a function, a |lambda| or a |Funcref|. See
|option-value-function| for more information. |option-value-function| for more information.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
@@ -4929,7 +4929,7 @@ A jump table for the options with a short description can be found at |Q_op|.
for each entry in the corresponding quickfix or location list. See for each entry in the corresponding quickfix or location list. See
|quickfix-window-function| for an explanation of how to write the |quickfix-window-function| for an explanation of how to write the
function and an example. The value can be the name of a function, a function and an example. The value can be the name of a function, a
|lambda| or a |Funcref|. See |option-value-function| for more |lambda| or a |Funcref|. See |option-value-function| for more
information. information.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
@@ -5758,7 +5758,7 @@ A jump table for the options with a short description can be found at |Q_op|.
`:silent` was used for the command; note that this also `:silent` was used for the command; note that this also
affects messages from 'autoread' reloading affects messages from 'autoread' reloading
S do not show search count message when searching, e.g. *shm-S* S do not show search count message when searching, e.g. *shm-S*
"[1/5]". When the "S" flag is not present (e.g. search count "[1/5]". When the "S" flag is not present (e.g. search count
is shown), the "search hit BOTTOM, continuing at TOP" and is shown), the "search hit BOTTOM, continuing at TOP" and
"search hit TOP, continuing at BOTTOM" messages are only "search hit TOP, continuing at BOTTOM" messages are only
indicated by a "W" (Mnemonic: Wrapped) letter before the indicated by a "W" (Mnemonic: Wrapped) letter before the
@@ -6133,7 +6133,7 @@ A jump table for the options with a short description can be found at |Q_op|.
timeout:{millisec} Limit the time searching for suggestions to timeout:{millisec} Limit the time searching for suggestions to
{millisec} milliseconds. Applies to the following {millisec} milliseconds. Applies to the following
methods. When omitted the limit is 5000. When methods. When omitted the limit is 5000. When
negative there is no limit. negative there is no limit.
file:{filename} Read file {filename}, which must have two columns, file:{filename} Read file {filename}, which must have two columns,
@@ -6722,7 +6722,7 @@ A jump table for the options with a short description can be found at |Q_op|.
The function gets the tag pattern and should return a List of matching The function gets the tag pattern and should return a List of matching
tags. See |tag-function| for an explanation of how to write the tags. See |tag-function| for an explanation of how to write the
function and an example. The value can be the name of a function, a function and an example. The value can be the name of a function, a
|lambda| or a |Funcref|. See |option-value-function| for more |lambda| or a |Funcref|. See |option-value-function| for more
information. information.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons. security reasons.
@@ -7432,7 +7432,7 @@ A jump table for the options with a short description can be found at |Q_op|.
d #define d #define
f function f function
This option does not apply to |ins-completion|. See 'completeopt' for This option does not apply to |ins-completion|. See 'completeopt' for
that. that.
*'winaltkeys'* *'wak'* *'winaltkeys'* *'wak'*

View File

@@ -377,7 +377,7 @@ vim.go.bkc = vim.go.backupcopy
--- - A directory name may end in an '/'. --- - A directory name may end in an '/'.
--- - For Unix and Win32, if a directory ends in two path separators "//", --- - For Unix and Win32, if a directory ends in two path separators "//",
--- the swap file name will be built from the complete path to the file --- the swap file name will be built from the complete path to the file
--- with all path separators changed to percent '%' signs. This will --- with all path separators changed to percent '%' signs. This will
--- ensure file name uniqueness in the backup directory. --- ensure file name uniqueness in the backup directory.
--- On Win32, it is also possible to end with "\\". However, When a --- On Win32, it is also possible to end with "\\". However, When a
--- separating comma is following, you must use "//", since "\\" will --- separating comma is following, you must use "//", since "\\" will
@@ -462,10 +462,10 @@ vim.o.bsk = vim.o.backupskip
vim.go.backupskip = vim.o.backupskip vim.go.backupskip = vim.o.backupskip
vim.go.bsk = vim.go.backupskip vim.go.bsk = vim.go.backupskip
--- Specifies for which events the bell will not be rung. It is a comma- --- Specifies for which events the bell will not be rung. It is a comma-
--- separated list of items. For each item that is present, the bell --- separated list of items. For each item that is present, the bell will
--- will be silenced. This is most useful to specify specific events in --- be silenced. This is most useful to specify specific events in insert
--- insert mode to be silenced. --- mode to be silenced.
--- You can also make it flash by using 'visualbell'. --- You can also make it flash by using 'visualbell'.
--- ---
--- item meaning when present ~ --- item meaning when present ~
@@ -495,8 +495,8 @@ vim.go.bsk = vim.go.backupskip
--- (depends on the 'wildmode' setting). --- (depends on the 'wildmode' setting).
--- ---
--- This is most useful to fine tune when in Insert mode the bell should --- This is most useful to fine tune when in Insert mode the bell should
--- be rung. For Normal mode and Ex commands, the bell is often rung to --- be rung. For Normal mode and Ex commands, the bell is often rung to
--- indicate that an error occurred. It can be silenced by adding the --- indicate that an error occurred. It can be silenced by adding the
--- "error" keyword. --- "error" keyword.
--- ---
--- @type string --- @type string
@@ -577,11 +577,11 @@ vim.o.bri = vim.o.breakindent
vim.wo.breakindent = vim.o.breakindent vim.wo.breakindent = vim.o.breakindent
vim.wo.bri = vim.wo.breakindent vim.wo.bri = vim.wo.breakindent
--- Settings for 'breakindent'. It can consist of the following optional --- Settings for 'breakindent'. It can consist of the following optional
--- items and must be separated by a comma: --- items and must be separated by a comma:
--- min:{n} Minimum text width that will be kept after --- min:{n} Minimum text width that will be kept after
--- applying 'breakindent', even if the resulting --- applying 'breakindent', even if the resulting
--- text should normally be narrower. This prevents --- text should normally be narrower. This prevents
--- text indented almost to the right window border --- text indented almost to the right window border
--- occupying lots of vertical space when broken. --- occupying lots of vertical space when broken.
--- (default: 20) --- (default: 20)
@@ -600,8 +600,8 @@ vim.wo.bri = vim.wo.breakindent
--- (default: 0) --- (default: 0)
--- list:-1 Uses the width of a match with 'formatlistpat' for --- list:-1 Uses the width of a match with 'formatlistpat' for
--- indentation. --- indentation.
--- column:{n} Indent at column {n}. Will overrule the other --- column:{n} Indent at column {n}. Will overrule the other
--- sub-options. Note: an additional indent may be --- sub-options. Note: an additional indent may be
--- added for the 'showbreak' setting. --- added for the 'showbreak' setting.
--- (default: off) --- (default: off)
--- ---
@@ -824,7 +824,7 @@ vim.bo.channel = vim.o.channel
--- faster, see `expr-option-function`. --- faster, see `expr-option-function`.
--- ---
--- If the 'charconvert' expression starts with s: or `<SID>`, then it is --- If the 'charconvert' expression starts with s: or `<SID>`, then it is
--- replaced with the script ID (`local-function`). Example: --- replaced with the script ID (`local-function`). Example:
--- ---
--- ```vim --- ```vim
--- set charconvert=s:MyConvert() --- set charconvert=s:MyConvert()
@@ -1119,7 +1119,7 @@ vim.bo.cpt = vim.bo.complete
--- with CTRL-X CTRL-U. `i_CTRL-X_CTRL-U` --- with CTRL-X CTRL-U. `i_CTRL-X_CTRL-U`
--- See `complete-functions` for an explanation of how the function is --- See `complete-functions` for an explanation of how the function is
--- invoked and what it should return. The value can be the name of a --- invoked and what it should return. The value can be the name of a
--- function, a `lambda` or a `Funcref`. See `option-value-function` for --- function, a `lambda` or a `Funcref`. See `option-value-function` for
--- more information. --- more information.
--- This option cannot be set from a `modeline` or in the `sandbox`, for --- This option cannot be set from a `modeline` or in the `sandbox`, for
--- security reasons. --- security reasons.
@@ -1235,7 +1235,7 @@ vim.go.cia = vim.go.completeitemalign
--- Only "fuzzy", "popup", "preinsert" and "preview" have an effect when --- Only "fuzzy", "popup", "preinsert" and "preview" have an effect when
--- 'autocomplete' is enabled. --- 'autocomplete' is enabled.
--- ---
--- This option does not apply to `cmdline-completion`. See 'wildoptions' --- This option does not apply to `cmdline-completion`. See 'wildoptions'
--- for that. --- for that.
--- ---
--- @type string --- @type string
@@ -1968,7 +1968,7 @@ vim.go.dg = vim.go.digraph
--- - For Unix and Win32, if a directory ends in two path separators "//", --- - For Unix and Win32, if a directory ends in two path separators "//",
--- the swap file name will be built from the complete path to the file --- the swap file name will be built from the complete path to the file
--- with all path separators replaced by percent '%' signs (including --- with all path separators replaced by percent '%' signs (including
--- the colon following the drive letter on Win32). This will ensure --- the colon following the drive letter on Win32). This will ensure
--- file name uniqueness in the preserve directory. --- file name uniqueness in the preserve directory.
--- On Win32, it is also possible to end with "\\". However, When a --- On Win32, it is also possible to end with "\\". However, When a
--- separating comma is following, you must use "//", since "\\" will --- separating comma is following, you must use "//", since "\\" will
@@ -2923,7 +2923,7 @@ vim.wo.fdt = vim.wo.foldtext
--- the internal format mechanism. --- the internal format mechanism.
--- ---
--- If the expression starts with s: or `<SID>`, then it is replaced with --- If the expression starts with s: or `<SID>`, then it is replaced with
--- the script ID (`local-function`). Example: --- the script ID (`local-function`). Example:
--- ---
--- ```vim --- ```vim
--- set formatexpr=s:MyFormatExpr() --- set formatexpr=s:MyFormatExpr()
@@ -3516,7 +3516,7 @@ vim.go.inc = vim.go.include
--- Note: Not used for `<cfile>`. --- Note: Not used for `<cfile>`.
--- ---
--- If the expression starts with s: or `<SID>`, then it is replaced with --- If the expression starts with s: or `<SID>`, then it is replaced with
--- the script ID (`local-function`). Example: --- the script ID (`local-function`). Example:
--- ---
--- ```vim --- ```vim
--- setlocal includeexpr=s:MyIncludeExpr() --- setlocal includeexpr=s:MyIncludeExpr()
@@ -3593,7 +3593,7 @@ vim.go.is = vim.go.incsearch
--- when the expression is evaluated (but it may be moved around). --- when the expression is evaluated (but it may be moved around).
--- ---
--- If the expression starts with s: or `<SID>`, then it is replaced with --- If the expression starts with s: or `<SID>`, then it is replaced with
--- the script ID (`local-function`). Example: --- the script ID (`local-function`). Example:
--- ---
--- ```vim --- ```vim
--- set indentexpr=s:MyIndentExpr() --- set indentexpr=s:MyIndentExpr()
@@ -4879,7 +4879,7 @@ vim.wo.nuw = vim.wo.numberwidth
--- completion with CTRL-X CTRL-O. `i_CTRL-X_CTRL-O` --- completion with CTRL-X CTRL-O. `i_CTRL-X_CTRL-O`
--- See `complete-functions` for an explanation of how the function is --- See `complete-functions` for an explanation of how the function is
--- invoked and what it should return. The value can be the name of a --- invoked and what it should return. The value can be the name of a
--- function, a `lambda` or a `Funcref`. See `option-value-function` for --- function, a `lambda` or a `Funcref`. See `option-value-function` for
--- more information. --- more information.
--- This option is usually set by a filetype plugin: --- This option is usually set by a filetype plugin:
--- `:filetype-plugin-on` --- `:filetype-plugin-on`
@@ -4894,7 +4894,7 @@ vim.bo.ofu = vim.bo.omnifunc
--- This option specifies a function to be called by the `g@` operator. --- This option specifies a function to be called by the `g@` operator.
--- See `:map-operator` for more info and an example. The value can be --- See `:map-operator` for more info and an example. The value can be
--- the name of a function, a `lambda` or a `Funcref`. See --- the name of a function, a `lambda` or a `Funcref`. See
--- `option-value-function` for more information. --- `option-value-function` for more information.
--- ---
--- This option cannot be set from a `modeline` or in the `sandbox`, for --- This option cannot be set from a `modeline` or in the `sandbox`, for
@@ -5157,7 +5157,7 @@ vim.go.pyx = vim.go.pyxversion
--- for each entry in the corresponding quickfix or location list. See --- for each entry in the corresponding quickfix or location list. See
--- `quickfix-window-function` for an explanation of how to write the --- `quickfix-window-function` for an explanation of how to write the
--- function and an example. The value can be the name of a function, a --- function and an example. The value can be the name of a function, a
--- `lambda` or a `Funcref`. See `option-value-function` for more --- `lambda` or a `Funcref`. See `option-value-function` for more
--- information. --- information.
--- ---
--- This option cannot be set from a `modeline` or in the `sandbox`, for --- This option cannot be set from a `modeline` or in the `sandbox`, for
@@ -6101,7 +6101,7 @@ vim.bo.sw = vim.bo.shiftwidth
--- `:silent` was used for the command; note that this also --- `:silent` was used for the command; note that this also
--- affects messages from 'autoread' reloading --- affects messages from 'autoread' reloading
--- S do not show search count message when searching, e.g. *shm-S* --- S do not show search count message when searching, e.g. *shm-S*
--- "[1/5]". When the "S" flag is not present (e.g. search count --- "[1/5]". When the "S" flag is not present (e.g. search count
--- is shown), the "search hit BOTTOM, continuing at TOP" and --- is shown), the "search hit BOTTOM, continuing at TOP" and
--- "search hit TOP, continuing at BOTTOM" messages are only --- "search hit TOP, continuing at BOTTOM" messages are only
--- indicated by a "W" (Mnemonic: Wrapped) letter before the --- indicated by a "W" (Mnemonic: Wrapped) letter before the
@@ -6556,7 +6556,7 @@ vim.bo.spo = vim.bo.spelloptions
--- ---
--- timeout:{millisec} Limit the time searching for suggestions to --- timeout:{millisec} Limit the time searching for suggestions to
--- {millisec} milliseconds. Applies to the following --- {millisec} milliseconds. Applies to the following
--- methods. When omitted the limit is 5000. When --- methods. When omitted the limit is 5000. When
--- negative there is no limit. --- negative there is no limit.
--- ---
--- file:{filename} Read file {filename}, which must have two columns, --- file:{filename} Read file {filename}, which must have two columns,
@@ -7254,7 +7254,7 @@ vim.go.tc = vim.go.tagcase
--- The function gets the tag pattern and should return a List of matching --- The function gets the tag pattern and should return a List of matching
--- tags. See `tag-function` for an explanation of how to write the --- tags. See `tag-function` for an explanation of how to write the
--- function and an example. The value can be the name of a function, a --- function and an example. The value can be the name of a function, a
--- `lambda` or a `Funcref`. See `option-value-function` for more --- `lambda` or a `Funcref`. See `option-value-function` for more
--- information. --- information.
--- This option cannot be set from a `modeline` or in the `sandbox`, for --- This option cannot be set from a `modeline` or in the `sandbox`, for
--- security reasons. --- security reasons.
@@ -8145,7 +8145,7 @@ vim.go.wim = vim.go.wildmode
--- d #define --- d #define
--- f function --- f function
--- ---
--- This option does not apply to `ins-completion`. See 'completeopt' for --- This option does not apply to `ins-completion`. See 'completeopt' for
--- that. --- that.
--- ---
--- @type string --- @type string

View File

@@ -545,7 +545,7 @@ local options = {
- A directory name may end in an '/'. - A directory name may end in an '/'.
- For Unix and Win32, if a directory ends in two path separators "//", - For Unix and Win32, if a directory ends in two path separators "//",
the swap file name will be built from the complete path to the file the swap file name will be built from the complete path to the file
with all path separators changed to percent '%' signs. This will with all path separators changed to percent '%' signs. This will
ensure file name uniqueness in the backup directory. ensure file name uniqueness in the backup directory.
On Win32, it is also possible to end with "\\". However, When a On Win32, it is also possible to end with "\\". However, When a
separating comma is following, you must use "//", since "\\" will separating comma is following, you must use "//", since "\\" will
@@ -669,10 +669,10 @@ local options = {
flags = true, flags = true,
deny_duplicates = true, deny_duplicates = true,
desc = [=[ desc = [=[
Specifies for which events the bell will not be rung. It is a comma- Specifies for which events the bell will not be rung. It is a comma-
separated list of items. For each item that is present, the bell separated list of items. For each item that is present, the bell will
will be silenced. This is most useful to specify specific events in be silenced. This is most useful to specify specific events in insert
insert mode to be silenced. mode to be silenced.
You can also make it flash by using 'visualbell'. You can also make it flash by using 'visualbell'.
item meaning when present ~ item meaning when present ~
@@ -702,8 +702,8 @@ local options = {
(depends on the 'wildmode' setting). (depends on the 'wildmode' setting).
This is most useful to fine tune when in Insert mode the bell should This is most useful to fine tune when in Insert mode the bell should
be rung. For Normal mode and Ex commands, the bell is often rung to be rung. For Normal mode and Ex commands, the bell is often rung to
indicate that an error occurred. It can be silenced by adding the indicate that an error occurred. It can be silenced by adding the
"error" keyword. "error" keyword.
]=], ]=],
full_name = 'belloff', full_name = 'belloff',
@@ -823,11 +823,11 @@ local options = {
values = { 'shift:', 'min:', 'sbr', 'list:', 'column:' }, values = { 'shift:', 'min:', 'sbr', 'list:', 'column:' },
deny_duplicates = true, deny_duplicates = true,
desc = [=[ desc = [=[
Settings for 'breakindent'. It can consist of the following optional Settings for 'breakindent'. It can consist of the following optional
items and must be separated by a comma: items and must be separated by a comma:
min:{n} Minimum text width that will be kept after min:{n} Minimum text width that will be kept after
applying 'breakindent', even if the resulting applying 'breakindent', even if the resulting
text should normally be narrower. This prevents text should normally be narrower. This prevents
text indented almost to the right window border text indented almost to the right window border
occupying lots of vertical space when broken. occupying lots of vertical space when broken.
(default: 20) (default: 20)
@@ -846,8 +846,8 @@ local options = {
(default: 0) (default: 0)
list:-1 Uses the width of a match with 'formatlistpat' for list:-1 Uses the width of a match with 'formatlistpat' for
indentation. indentation.
column:{n} Indent at column {n}. Will overrule the other column:{n} Indent at column {n}. Will overrule the other
sub-options. Note: an additional indent may be sub-options. Note: an additional indent may be
added for the 'showbreak' setting. added for the 'showbreak' setting.
(default: off) (default: off)
]=], ]=],
@@ -1172,7 +1172,7 @@ local options = {
faster, see |expr-option-function|. faster, see |expr-option-function|.
If the 'charconvert' expression starts with s: or |<SID>|, then it is If the 'charconvert' expression starts with s: or |<SID>|, then it is
replaced with the script ID (|local-function|). Example: >vim replaced with the script ID (|local-function|). Example: >vim
set charconvert=s:MyConvert() set charconvert=s:MyConvert()
set charconvert=<SID>SomeConvert() set charconvert=<SID>SomeConvert()
< Otherwise the expression is evaluated in the context of the script < Otherwise the expression is evaluated in the context of the script
@@ -1562,7 +1562,7 @@ local options = {
with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U| with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U|
See |complete-functions| for an explanation of how the function is See |complete-functions| for an explanation of how the function is
invoked and what it should return. The value can be the name of a invoked and what it should return. The value can be the name of a
function, a |lambda| or a |Funcref|. See |option-value-function| for function, a |lambda| or a |Funcref|. See |option-value-function| for
more information. more information.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons. security reasons.
@@ -1717,7 +1717,7 @@ local options = {
Only "fuzzy", "popup", "preinsert" and "preview" have an effect when Only "fuzzy", "popup", "preinsert" and "preview" have an effect when
'autocomplete' is enabled. 'autocomplete' is enabled.
This option does not apply to |cmdline-completion|. See 'wildoptions' This option does not apply to |cmdline-completion|. See 'wildoptions'
for that. for that.
]=], ]=],
full_name = 'completeopt', full_name = 'completeopt',
@@ -2574,7 +2574,7 @@ local options = {
- For Unix and Win32, if a directory ends in two path separators "//", - For Unix and Win32, if a directory ends in two path separators "//",
the swap file name will be built from the complete path to the file the swap file name will be built from the complete path to the file
with all path separators replaced by percent '%' signs (including with all path separators replaced by percent '%' signs (including
the colon following the drive letter on Win32). This will ensure the colon following the drive letter on Win32). This will ensure
file name uniqueness in the preserve directory. file name uniqueness in the preserve directory.
On Win32, it is also possible to end with "\\". However, When a On Win32, it is also possible to end with "\\". However, When a
separating comma is following, you must use "//", since "\\" will separating comma is following, you must use "//", since "\\" will
@@ -3729,7 +3729,7 @@ local options = {
the internal format mechanism. the internal format mechanism.
If the expression starts with s: or |<SID>|, then it is replaced with If the expression starts with s: or |<SID>|, then it is replaced with
the script ID (|local-function|). Example: >vim the script ID (|local-function|). Example: >vim
set formatexpr=s:MyFormatExpr() set formatexpr=s:MyFormatExpr()
set formatexpr=<SID>SomeFormatExpr() set formatexpr=<SID>SomeFormatExpr()
< Otherwise, the expression is evaluated in the context of the script < Otherwise, the expression is evaluated in the context of the script
@@ -4652,7 +4652,7 @@ local options = {
Note: Not used for |<cfile>|. Note: Not used for |<cfile>|.
If the expression starts with s: or |<SID>|, then it is replaced with If the expression starts with s: or |<SID>|, then it is replaced with
the script ID (|local-function|). Example: >vim the script ID (|local-function|). Example: >vim
setlocal includeexpr=s:MyIncludeExpr() setlocal includeexpr=s:MyIncludeExpr()
setlocal includeexpr=<SID>SomeIncludeExpr() setlocal includeexpr=<SID>SomeIncludeExpr()
< Otherwise, the expression is evaluated in the context of the script < Otherwise, the expression is evaluated in the context of the script
@@ -4733,7 +4733,7 @@ local options = {
when the expression is evaluated (but it may be moved around). when the expression is evaluated (but it may be moved around).
If the expression starts with s: or |<SID>|, then it is replaced with If the expression starts with s: or |<SID>|, then it is replaced with
the script ID (|local-function|). Example: >vim the script ID (|local-function|). Example: >vim
set indentexpr=s:MyIndentExpr() set indentexpr=s:MyIndentExpr()
set indentexpr=<SID>SomeIndentExpr() set indentexpr=<SID>SomeIndentExpr()
< Otherwise, the expression is evaluated in the context of the script < Otherwise, the expression is evaluated in the context of the script
@@ -6394,7 +6394,7 @@ local options = {
completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O| completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O|
See |complete-functions| for an explanation of how the function is See |complete-functions| for an explanation of how the function is
invoked and what it should return. The value can be the name of a invoked and what it should return. The value can be the name of a
function, a |lambda| or a |Funcref|. See |option-value-function| for function, a |lambda| or a |Funcref|. See |option-value-function| for
more information. more information.
This option is usually set by a filetype plugin: This option is usually set by a filetype plugin:
|:filetype-plugin-on| |:filetype-plugin-on|
@@ -6433,7 +6433,7 @@ local options = {
desc = [=[ desc = [=[
This option specifies a function to be called by the |g@| operator. This option specifies a function to be called by the |g@| operator.
See |:map-operator| for more info and an example. The value can be See |:map-operator| for more info and an example. The value can be
the name of a function, a |lambda| or a |Funcref|. See the name of a function, a |lambda| or a |Funcref|. See
|option-value-function| for more information. |option-value-function| for more information.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
@@ -6771,7 +6771,7 @@ local options = {
for each entry in the corresponding quickfix or location list. See for each entry in the corresponding quickfix or location list. See
|quickfix-window-function| for an explanation of how to write the |quickfix-window-function| for an explanation of how to write the
function and an example. The value can be the name of a function, a function and an example. The value can be the name of a function, a
|lambda| or a |Funcref|. See |option-value-function| for more |lambda| or a |Funcref|. See |option-value-function| for more
information. information.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
@@ -8011,7 +8011,7 @@ local options = {
`:silent` was used for the command; note that this also `:silent` was used for the command; note that this also
affects messages from 'autoread' reloading affects messages from 'autoread' reloading
S do not show search count message when searching, e.g. *shm-S* S do not show search count message when searching, e.g. *shm-S*
"[1/5]". When the "S" flag is not present (e.g. search count "[1/5]". When the "S" flag is not present (e.g. search count
is shown), the "search hit BOTTOM, continuing at TOP" and is shown), the "search hit BOTTOM, continuing at TOP" and
"search hit TOP, continuing at BOTTOM" messages are only "search hit TOP, continuing at BOTTOM" messages are only
indicated by a "W" (Mnemonic: Wrapped) letter before the indicated by a "W" (Mnemonic: Wrapped) letter before the
@@ -8591,7 +8591,7 @@ local options = {
timeout:{millisec} Limit the time searching for suggestions to timeout:{millisec} Limit the time searching for suggestions to
{millisec} milliseconds. Applies to the following {millisec} milliseconds. Applies to the following
methods. When omitted the limit is 5000. When methods. When omitted the limit is 5000. When
negative there is no limit. negative there is no limit.
file:{filename} Read file {filename}, which must have two columns, file:{filename} Read file {filename}, which must have two columns,
@@ -9366,7 +9366,7 @@ local options = {
The function gets the tag pattern and should return a List of matching The function gets the tag pattern and should return a List of matching
tags. See |tag-function| for an explanation of how to write the tags. See |tag-function| for an explanation of how to write the
function and an example. The value can be the name of a function, a function and an example. The value can be the name of a function, a
|lambda| or a |Funcref|. See |option-value-function| for more |lambda| or a |Funcref|. See |option-value-function| for more
information. information.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons. security reasons.
@@ -10484,7 +10484,7 @@ local options = {
d #define d #define
f function f function
This option does not apply to |ins-completion|. See 'completeopt' for This option does not apply to |ins-completion|. See 'completeopt' for
that. that.
]=], ]=],
full_name = 'wildoptions', full_name = 'wildoptions',