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:
zeertzjq
2025-10-27 08:20:28 +08:00
parent 046c9b678c
commit d8326ed15d
3 changed files with 12 additions and 9 deletions

View File

@@ -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)
global
While typing a search command, show where the pattern, as it was typed
so far, matches. The matched string is highlighted. If the pattern
is invalid or not found, nothing is shown. The screen will be updated
often, this is only useful on fast terminals.
so far, matches (ignoring {offset} and {address} modifiers). The
matched string is highlighted. If the pattern is invalid or not
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
original position when no match is found and when pressing <Esc>. You
still need to finish the search command with <Enter> to move the

View File

@@ -3565,9 +3565,10 @@ vim.bo.includeexpr = vim.o.includeexpr
vim.bo.inex = vim.bo.includeexpr
--- While typing a search command, show where the pattern, as it was typed
--- so far, matches. The matched string is highlighted. If the pattern
--- is invalid or not found, nothing is shown. The screen will be updated
--- often, this is only useful on fast terminals.
--- so far, matches (ignoring {offset} and {address} modifiers). The
--- matched string is highlighted. If the pattern is invalid or not
--- 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
--- original position when no match is found and when pressing <Esc>. You
--- still need to finish the search command with <Enter> to move the

View File

@@ -4701,9 +4701,10 @@ local options = {
defaults = true,
desc = [=[
While typing a search command, show where the pattern, as it was typed
so far, matches. The matched string is highlighted. If the pattern
is invalid or not found, nothing is shown. The screen will be updated
often, this is only useful on fast terminals.
so far, matches (ignoring {offset} and {address} modifiers). The
matched string is highlighted. If the pattern is invalid or not
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
original position when no match is found and when pressing <Esc>. You
still need to finish the search command with <Enter> to move the