mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 14:29:02 +00:00
vim-patch:3fc00c0: runtime(doc): mention that 'incsearch' ignores addresses and offset
closes: vim/vim#18639
3fc00c05fb
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -3669,9 +3669,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'incsearch' 'is' boolean (default on)
|
'incsearch' 'is' boolean (default on)
|
||||||
global
|
global
|
||||||
While typing a search command, show where the pattern, as it was typed
|
While typing a search command, show where the pattern, as it was typed
|
||||||
so far, matches. The matched string is highlighted. If the pattern
|
so far, matches (ignoring {offset} and {address} modifiers). The
|
||||||
is invalid or not found, nothing is shown. The screen will be updated
|
matched string is highlighted. If the pattern is invalid or not
|
||||||
often, this is only useful on fast terminals.
|
found, nothing is shown. The screen will be updated often, this is
|
||||||
|
only useful on fast terminals.
|
||||||
Note that the match will be shown, but the cursor will return to its
|
Note that the match will be shown, but the cursor will return to its
|
||||||
original position when no match is found and when pressing <Esc>. You
|
original position when no match is found and when pressing <Esc>. You
|
||||||
still need to finish the search command with <Enter> to move the
|
still need to finish the search command with <Enter> to move the
|
||||||
|
|||||||
7
runtime/lua/vim/_meta/options.lua
generated
7
runtime/lua/vim/_meta/options.lua
generated
@@ -3565,9 +3565,10 @@ vim.bo.includeexpr = vim.o.includeexpr
|
|||||||
vim.bo.inex = vim.bo.includeexpr
|
vim.bo.inex = vim.bo.includeexpr
|
||||||
|
|
||||||
--- While typing a search command, show where the pattern, as it was typed
|
--- While typing a search command, show where the pattern, as it was typed
|
||||||
--- so far, matches. The matched string is highlighted. If the pattern
|
--- so far, matches (ignoring {offset} and {address} modifiers). The
|
||||||
--- is invalid or not found, nothing is shown. The screen will be updated
|
--- matched string is highlighted. If the pattern is invalid or not
|
||||||
--- often, this is only useful on fast terminals.
|
--- found, nothing is shown. The screen will be updated often, this is
|
||||||
|
--- only useful on fast terminals.
|
||||||
--- Note that the match will be shown, but the cursor will return to its
|
--- Note that the match will be shown, but the cursor will return to its
|
||||||
--- original position when no match is found and when pressing <Esc>. You
|
--- original position when no match is found and when pressing <Esc>. You
|
||||||
--- still need to finish the search command with <Enter> to move the
|
--- still need to finish the search command with <Enter> to move the
|
||||||
|
|||||||
@@ -4701,9 +4701,10 @@ local options = {
|
|||||||
defaults = true,
|
defaults = true,
|
||||||
desc = [=[
|
desc = [=[
|
||||||
While typing a search command, show where the pattern, as it was typed
|
While typing a search command, show where the pattern, as it was typed
|
||||||
so far, matches. The matched string is highlighted. If the pattern
|
so far, matches (ignoring {offset} and {address} modifiers). The
|
||||||
is invalid or not found, nothing is shown. The screen will be updated
|
matched string is highlighted. If the pattern is invalid or not
|
||||||
often, this is only useful on fast terminals.
|
found, nothing is shown. The screen will be updated often, this is
|
||||||
|
only useful on fast terminals.
|
||||||
Note that the match will be shown, but the cursor will return to its
|
Note that the match will be shown, but the cursor will return to its
|
||||||
original position when no match is found and when pressing <Esc>. You
|
original position when no match is found and when pressing <Esc>. You
|
||||||
still need to finish the search command with <Enter> to move the
|
still need to finish the search command with <Enter> to move the
|
||||||
|
|||||||
Reference in New Issue
Block a user