mirror of
https://github.com/neovim/neovim.git
synced 2025-12-17 20:05:38 +00:00
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#18270a0f37dbbf4(cherry picked from commitc06f0970b0)
This commit is contained in:
committed by
github-actions[bot]
parent
1c8805e3b2
commit
19d58cb2cc
@@ -4431,8 +4431,8 @@ local options = {
|
||||
autocmd. Example: >vim
|
||||
augroup vimrc-incsearch-highlight
|
||||
autocmd!
|
||||
autocmd CmdlineEnter /,\? :set hlsearch
|
||||
autocmd CmdlineLeave /,\? :set nohlsearch
|
||||
autocmd CmdlineEnter [\/\?] :set hlsearch
|
||||
autocmd CmdlineLeave [\/\?] :set nohlsearch
|
||||
augroup END
|
||||
<
|
||||
CTRL-L can be used to add one character from after the current match
|
||||
|
||||
Reference in New Issue
Block a user