diff options
author | Aufar Gilbran <aufargilbran@gmail.com> | 2020-08-10 03:02:54 +0800 |
---|---|---|
committer | Aufar Gilbran <aufargilbran@gmail.com> | 2020-09-11 10:31:41 +0800 |
commit | e8a8b9ed08405c830a049c4e43910c5ce9cdb669 (patch) | |
tree | ade437e15fd6e6b0fd67cea690717d0061385a39 /test/functional/ui/inccommand_spec.lua | |
parent | 8ac47485777c2eaee9fe7aa93d1ed6c5748d2da9 (diff) | |
download | rneovim-e8a8b9ed08405c830a049c4e43910c5ce9cdb669.tar.gz rneovim-e8a8b9ed08405c830a049c4e43910c5ce9cdb669.tar.bz2 rneovim-e8a8b9ed08405c830a049c4e43910c5ce9cdb669.zip |
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.
https://github.com/vim/vim/commit/b0acacd767a2b0618a7f3c08087708f4329580d0
Diffstat (limited to 'test/functional/ui/inccommand_spec.lua')
-rw-r--r-- | test/functional/ui/inccommand_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua index afb0c9cfa6..74e85212c8 100644 --- a/test/functional/ui/inccommand_spec.lua +++ b/test/functional/ui/inccommand_spec.lua @@ -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([[ |