aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-09-12 07:08:02 +0800
committerGitHub <noreply@github.com>2025-09-11 23:08:02 +0000
commitc06f0970b0807360c4b9d24abd10a264b5ea892f (patch)
tree8d8299a5c0dbe6a6d2d3bf3b42300dbda76081b0 /runtime/lua/vim
parent0923ba322b3435d641a9cc0432598aa74d5f2b69 (diff)
downloadrneovim-c06f0970b0807360c4b9d24abd10a264b5ea892f.tar.gz
rneovim-c06f0970b0807360c4b9d24abd10a264b5ea892f.tar.bz2
rneovim-c06f0970b0807360c4b9d24abd10a264b5ea892f.zip
vim-patch:a0f37db: runtime(doc): use a single pattern in :h 'incsearch' example (#35721)
related: https://github.com/vim/vim/pull/18262#issuecomment-3277008408 closes: vim/vim#18270 https://github.com/vim/vim/commit/a0f37dbbf413537815656fb0752a8eb926acb05c
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_meta/options.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 2b051e4223..1eb03dad36 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -3564,8 +3564,8 @@ vim.bo.inex = vim.bo.includeexpr
--- ```vim
--- augroup vimrc-incsearch-highlight
--- autocmd!
---- autocmd CmdlineEnter /,\? :set hlsearch
---- autocmd CmdlineLeave /,\? :set nohlsearch
+--- autocmd CmdlineEnter [\/\?] :set hlsearch
+--- autocmd CmdlineLeave [\/\?] :set nohlsearch
--- augroup END
--- ```
---