mirror of
https://github.com/neovim/neovim.git
synced 2026-07-20 16:11:58 +00:00
vim-patch:8.1.0271: 'incsearch' doesn't work for :s, :g or :v
Problem: 'incsearch' doesn't work for :s, :g or :v.
Solution: Also use 'incsearch' for other commands that use a pattern.
b0acacd767
This commit is contained in:
@@ -162,7 +162,7 @@ describe(":substitute, 'inccommand' preserves", function()
|
||||
insert(default_text)
|
||||
feed_command("set inccommand=" .. case)
|
||||
|
||||
local delims = { '/', '#', ';', '%', ',', '@', '!', ''}
|
||||
local delims = { '/', '#', ';', '%', ',', '@', '!' }
|
||||
for _,delim in pairs(delims) do
|
||||
feed_command("%s"..delim.."lines"..delim.."LINES"..delim.."g")
|
||||
expect([[
|
||||
|
||||
Reference in New Issue
Block a user