diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-09-12 07:08:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-11 23:08:02 +0000 |
| commit | c06f0970b0807360c4b9d24abd10a264b5ea892f (patch) | |
| tree | 8d8299a5c0dbe6a6d2d3bf3b42300dbda76081b0 /runtime/lua/vim/_meta/options.lua | |
| parent | 0923ba322b3435d641a9cc0432598aa74d5f2b69 (diff) | |
| download | rneovim-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/_meta/options.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/options.lua | 4 |
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 --- ``` --- |