summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-10-27 08:20:28 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-10-27 08:22:12 +0800
commitd8326ed15d41d545a8955cea7881f0040ea09466 (patch)
tree13f7b38eefec4f52fc972aba5831ff37654a53c0 /runtime/lua/vim/_meta/options.lua
parent046c9b678c672a59b8af259102aa51a92d2ec009 (diff)
vim-patch:3fc00c0: runtime(doc): mention that 'incsearch' ignores addresses and offset
closes: vim/vim#18639 https://github.com/vim/vim/commit/3fc00c05fb464d3e806df53bdc1743faa337ddca Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index f99c3113b9..bd2038bc72 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -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