mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
vim-patch:fa8b7db: runtime(doc): tweak documentation style in options.txt
closes: vim/vim#17229
fa8b7db99a
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
@ -1506,7 +1506,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
] tag completion
|
||||
t same as "]"
|
||||
f scan the buffer names (as opposed to buffer contents)
|
||||
f{func} call the function {func}. Multiple "f" flags may be specified.
|
||||
f{func} call the function {func}. Multiple "f" flags may be specified.
|
||||
Refer to |complete-functions| for details on how the function
|
||||
is invoked and what it should return. The value can be the
|
||||
name of a function or a |Funcref|. For |Funcref| values,
|
||||
@ -1541,9 +1541,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
An optional match limit can be specified for a completion source by
|
||||
appending a caret ("^") followed by a {count} to the source flag.
|
||||
For example: ".^9,w,u,t^5" limits matches from the current buffer
|
||||
to 9 and from tags to 5. Other sources remain unlimited.
|
||||
The match limit takes effect only during forward completion (CTRL-N)
|
||||
and is ignored during backward completion (CTRL-P).
|
||||
to 9 and from tags to 5. Other sources remain unlimited.
|
||||
Note: The match limit takes effect only during forward completion
|
||||
(CTRL-N) and is ignored during backward completion (CTRL-P).
|
||||
|
||||
*'completefunc'* *'cfu'*
|
||||
'completefunc' 'cfu' string (default "")
|
||||
|
8
runtime/lua/vim/_meta/options.lua
generated
8
runtime/lua/vim/_meta/options.lua
generated
@ -1027,7 +1027,7 @@ vim.bo.cms = vim.bo.commentstring
|
||||
--- ] tag completion
|
||||
--- t same as "]"
|
||||
--- f scan the buffer names (as opposed to buffer contents)
|
||||
--- f{func} call the function {func}. Multiple "f" flags may be specified.
|
||||
--- f{func} call the function {func}. Multiple "f" flags may be specified.
|
||||
--- Refer to `complete-functions` for details on how the function
|
||||
--- is invoked and what it should return. The value can be the
|
||||
--- name of a function or a `Funcref`. For `Funcref` values,
|
||||
@ -1062,9 +1062,9 @@ vim.bo.cms = vim.bo.commentstring
|
||||
--- An optional match limit can be specified for a completion source by
|
||||
--- appending a caret ("^") followed by a {count} to the source flag.
|
||||
--- For example: ".^9,w,u,t^5" limits matches from the current buffer
|
||||
--- to 9 and from tags to 5. Other sources remain unlimited.
|
||||
--- The match limit takes effect only during forward completion (CTRL-N)
|
||||
--- and is ignored during backward completion (CTRL-P).
|
||||
--- to 9 and from tags to 5. Other sources remain unlimited.
|
||||
--- Note: The match limit takes effect only during forward completion
|
||||
--- (CTRL-N) and is ignored during backward completion (CTRL-P).
|
||||
---
|
||||
--- @type string
|
||||
vim.o.complete = ".,w,b,u,t"
|
||||
|
@ -1438,7 +1438,7 @@ local options = {
|
||||
] tag completion
|
||||
t same as "]"
|
||||
f scan the buffer names (as opposed to buffer contents)
|
||||
f{func} call the function {func}. Multiple "f" flags may be specified.
|
||||
f{func} call the function {func}. Multiple "f" flags may be specified.
|
||||
Refer to |complete-functions| for details on how the function
|
||||
is invoked and what it should return. The value can be the
|
||||
name of a function or a |Funcref|. For |Funcref| values,
|
||||
@ -1473,9 +1473,9 @@ local options = {
|
||||
An optional match limit can be specified for a completion source by
|
||||
appending a caret ("^") followed by a {count} to the source flag.
|
||||
For example: ".^9,w,u,t^5" limits matches from the current buffer
|
||||
to 9 and from tags to 5. Other sources remain unlimited.
|
||||
The match limit takes effect only during forward completion (CTRL-N)
|
||||
and is ignored during backward completion (CTRL-P).
|
||||
to 9 and from tags to 5. Other sources remain unlimited.
|
||||
Note: The match limit takes effect only during forward completion
|
||||
(CTRL-N) and is ignored during backward completion (CTRL-P).
|
||||
]=],
|
||||
full_name = 'complete',
|
||||
list = 'onecomma',
|
||||
|
Reference in New Issue
Block a user