mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +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
|
] tag completion
|
||||||
t same as "]"
|
t same as "]"
|
||||||
f scan the buffer names (as opposed to buffer contents)
|
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
|
Refer to |complete-functions| for details on how the function
|
||||||
is invoked and what it should return. The value can be the
|
is invoked and what it should return. The value can be the
|
||||||
name of a function or a |Funcref|. For |Funcref| values,
|
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
|
An optional match limit can be specified for a completion source by
|
||||||
appending a caret ("^") followed by a {count} to the source flag.
|
appending a caret ("^") followed by a {count} to the source flag.
|
||||||
For example: ".^9,w,u,t^5" limits matches from the current buffer
|
For example: ".^9,w,u,t^5" limits matches from the current buffer
|
||||||
to 9 and from tags to 5. Other sources remain unlimited.
|
to 9 and from tags to 5. Other sources remain unlimited.
|
||||||
The match limit takes effect only during forward completion (CTRL-N)
|
Note: The match limit takes effect only during forward completion
|
||||||
and is ignored during backward completion (CTRL-P).
|
(CTRL-N) and is ignored during backward completion (CTRL-P).
|
||||||
|
|
||||||
*'completefunc'* *'cfu'*
|
*'completefunc'* *'cfu'*
|
||||||
'completefunc' 'cfu' string (default "")
|
'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
|
--- ] tag completion
|
||||||
--- t same as "]"
|
--- t same as "]"
|
||||||
--- f scan the buffer names (as opposed to buffer contents)
|
--- 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
|
--- Refer to `complete-functions` for details on how the function
|
||||||
--- is invoked and what it should return. The value can be the
|
--- is invoked and what it should return. The value can be the
|
||||||
--- name of a function or a `Funcref`. For `Funcref` values,
|
--- 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
|
--- An optional match limit can be specified for a completion source by
|
||||||
--- appending a caret ("^") followed by a {count} to the source flag.
|
--- appending a caret ("^") followed by a {count} to the source flag.
|
||||||
--- For example: ".^9,w,u,t^5" limits matches from the current buffer
|
--- For example: ".^9,w,u,t^5" limits matches from the current buffer
|
||||||
--- to 9 and from tags to 5. Other sources remain unlimited.
|
--- to 9 and from tags to 5. Other sources remain unlimited.
|
||||||
--- The match limit takes effect only during forward completion (CTRL-N)
|
--- Note: The match limit takes effect only during forward completion
|
||||||
--- and is ignored during backward completion (CTRL-P).
|
--- (CTRL-N) and is ignored during backward completion (CTRL-P).
|
||||||
---
|
---
|
||||||
--- @type string
|
--- @type string
|
||||||
vim.o.complete = ".,w,b,u,t"
|
vim.o.complete = ".,w,b,u,t"
|
||||||
|
@@ -1438,7 +1438,7 @@ local options = {
|
|||||||
] tag completion
|
] tag completion
|
||||||
t same as "]"
|
t same as "]"
|
||||||
f scan the buffer names (as opposed to buffer contents)
|
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
|
Refer to |complete-functions| for details on how the function
|
||||||
is invoked and what it should return. The value can be the
|
is invoked and what it should return. The value can be the
|
||||||
name of a function or a |Funcref|. For |Funcref| values,
|
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
|
An optional match limit can be specified for a completion source by
|
||||||
appending a caret ("^") followed by a {count} to the source flag.
|
appending a caret ("^") followed by a {count} to the source flag.
|
||||||
For example: ".^9,w,u,t^5" limits matches from the current buffer
|
For example: ".^9,w,u,t^5" limits matches from the current buffer
|
||||||
to 9 and from tags to 5. Other sources remain unlimited.
|
to 9 and from tags to 5. Other sources remain unlimited.
|
||||||
The match limit takes effect only during forward completion (CTRL-N)
|
Note: The match limit takes effect only during forward completion
|
||||||
and is ignored during backward completion (CTRL-P).
|
(CTRL-N) and is ignored during backward completion (CTRL-P).
|
||||||
]=],
|
]=],
|
||||||
full_name = 'complete',
|
full_name = 'complete',
|
||||||
list = 'onecomma',
|
list = 'onecomma',
|
||||||
|
Reference in New Issue
Block a user