runtime(doc): add a section for options influencing search

Commit: 
https://github.com/vim/vim/commit/0ae9e19540dda5d18359013fadf20f7d6b04f1fb
Author: Christian Brabandt <c...@256bit.org>
Date:   Sun Jul 6 10:24:41 2025 +0200

    runtime(doc): add a section for options influencing search
    
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index 857a3e648..9af0c24f4 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -1,4 +1,4 @@
-*pattern.txt*   For Vim version 9.1.  Last change: 2025 Mar 28
+*pattern.txt*   For Vim version 9.1.  Last change: 2025 Jul 06
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -183,6 +183,16 @@ matches in every line with `:vglobal`.
 For the |:s| command the "e" flag can be used to avoid the error message
 |:s_flags|.
 
+                                       *search-options*
+The following options affect how a search is performed in Vim:
+    'hlsearch'         highlight matches
+    'ignorecase'       ignore case when searching
+    'imsearch'         use |IME| when entering the search pattern
+    'incsearch'                show matches incrementally as the pattern is 
typed
+    'shortmess'                suppress messages |shm-s|; show search count 
|shm-S|
+    'smartcase'                override 'ignorecase' if pattern contains 
uppercase
+    'wrapscan'         continue searching from the start of the file
+
                                        *search-offset* *{offset}*
 These commands search for the specified pattern.  With "/" and "?" an
 additional offset may be given.  There are two types of offsets: line offsets
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 3f83210b4..351d837ed 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -10057,6 +10057,7 @@ search()        builtin.txt     /*search()*
 search()-sub-match     builtin.txt     /*search()-sub-match*
 search-commands        pattern.txt     /*search-commands*
 search-offset  pattern.txt     /*search-offset*
+search-options pattern.txt     /*search-options*
 search-pattern pattern.txt     /*search-pattern*
 search-range   pattern.txt     /*search-range*
 search-replace change.txt      /*search-replace*
diff --git a/runtime/doc/usr_27.txt b/runtime/doc/usr_27.txt
index bb5b5657a..d8bdf1ba1 100644
--- a/runtime/doc/usr_27.txt
+++ b/runtime/doc/usr_27.txt
@@ -1,4 +1,4 @@
-*usr_27.txt*   For Vim version 9.1.  Last change: 2019 Jul 14
+*usr_27.txt*   For Vim version 9.1.  Last change: 2027 Jul 07
 
                     VIM USER MANUAL - by Bram Moolenaar
 
@@ -7,7 +7,8 @@
 
 In chapter 3 a few simple search patterns were mentioned |03.9|.  Vim can do
 much more complex searches.  This chapter explains the most often used ones.
-A detailed specification can be found here: |pattern|
+A detailed specification can be found here: |pattern|  Options affecting how
+search is done can be found here: |search-options|
 
 |27.1| Ignoring case
 |27.2| Wrapping around the file end

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uYKlG-006Lmw-7J%40256bit.org.

Raspunde prin e-mail lui