mirror of
https://github.com/neovim/neovim.git
synced 2026-01-05 02:47:28 +10:00
vim-patch:2006415: runtime(doc): add reference to searchcount() function
2006415016
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -4319,7 +4319,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When the number of matches exceeds this value, Vim shows ">" instead
|
||||
of the exact count to keep searching fast.
|
||||
Note: larger values may impact performance.
|
||||
The value must be between 1 and 9999.
|
||||
The value must be between 1 and 9999. See also the |searchcount()|
|
||||
function.
|
||||
|
||||
*'menuitems'* *'mis'*
|
||||
'menuitems' 'mis' number (default 25)
|
||||
@@ -5738,7 +5739,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
"search hit TOP, continuing at BOTTOM" messages are only
|
||||
indicated by a "W" (Mnemonic: Wrapped) letter before the
|
||||
search count statistics. The maximum limit can be set with
|
||||
the 'maxsearchcount' option.
|
||||
the 'maxsearchcount' option, see also |searchcount()|
|
||||
function.
|
||||
|
||||
This gives you the opportunity to avoid that a change between buffers
|
||||
requires you to hit <Enter>, but still gives as useful a message as
|
||||
|
||||
6
runtime/lua/vim/_meta/options.lua
generated
6
runtime/lua/vim/_meta/options.lua
generated
@@ -4385,7 +4385,8 @@ vim.go.mmp = vim.go.maxmempattern
|
||||
--- When the number of matches exceeds this value, Vim shows ">" instead
|
||||
--- of the exact count to keep searching fast.
|
||||
--- Note: larger values may impact performance.
|
||||
--- The value must be between 1 and 9999.
|
||||
--- The value must be between 1 and 9999. See also the `searchcount()`
|
||||
--- function.
|
||||
---
|
||||
--- @type integer
|
||||
vim.o.maxsearchcount = 999
|
||||
@@ -6073,7 +6074,8 @@ vim.bo.sw = vim.bo.shiftwidth
|
||||
--- "search hit TOP, continuing at BOTTOM" messages are only
|
||||
--- indicated by a "W" (Mnemonic: Wrapped) letter before the
|
||||
--- search count statistics. The maximum limit can be set with
|
||||
--- the 'maxsearchcount' option.
|
||||
--- the 'maxsearchcount' option, see also `searchcount()`
|
||||
--- function.
|
||||
---
|
||||
--- This gives you the opportunity to avoid that a change between buffers
|
||||
--- requires you to hit <Enter>, but still gives as useful a message as
|
||||
|
||||
@@ -5713,7 +5713,8 @@ local options = {
|
||||
When the number of matches exceeds this value, Vim shows ">" instead
|
||||
of the exact count to keep searching fast.
|
||||
Note: larger values may impact performance.
|
||||
The value must be between 1 and 9999.
|
||||
The value must be between 1 and 9999. See also the |searchcount()|
|
||||
function.
|
||||
]=],
|
||||
full_name = 'maxsearchcount',
|
||||
scope = { 'global' },
|
||||
@@ -7981,7 +7982,8 @@ local options = {
|
||||
"search hit TOP, continuing at BOTTOM" messages are only
|
||||
indicated by a "W" (Mnemonic: Wrapped) letter before the
|
||||
search count statistics. The maximum limit can be set with
|
||||
the 'maxsearchcount' option.
|
||||
the 'maxsearchcount' option, see also |searchcount()|
|
||||
function.
|
||||
|
||||
This gives you the opportunity to avoid that a change between buffers
|
||||
requires you to hit <Enter>, but still gives as useful a message as
|
||||
|
||||
Reference in New Issue
Block a user