Hi Bram, 2018-8-19(Sun) 4:14:42 UTC+9 Bram Moolenaar: > Patch 8.1.0295 > Problem: No 'incsearch' highlighting for :vimgrep and similar commands. > Solution: Parse the :vimgrep command and similar ones to locate the search > pattern. (Hirohito Higashi, closes #3344) > Files: src/ex_getln.c, src/testdir/test_search.vim, > src/testdir/dumps/Test_incsearch_vimgrep_01.dump, > src/testdir/dumps/Test_incsearch_vimgrep_02.dump, > src/testdir/dumps/Test_incsearch_vimgrep_03.dump, > src/testdir/dumps/Test_incsearch_vimgrep_04.dump, > src/testdir/dumps/Test_incsearch_vimgrep_05.dump [...]
Thanks for including my patch👍 I forgot to change the document and I attached it. -- Best regards, Hirohito Higashi (h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 2343d6342..de0f159e2 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4480,7 +4480,18 @@ A jump table for the options with a short description can be found at |Q_op|. so far, matches. The matched string is highlighted. If the pattern is invalid or not found, nothing is shown. The screen will be updated often, this is only useful on fast terminals. - Also applies to the `:s`, `:g` and `:v` commands. + Also applies to the following commands: > + :substitute + :smagic + :snomagic + :sort + :global + :vglobal + :vimgrep + :vimgrepadd + :lvimgrep + :lvimgrepadd +< Note that the match will be shown, but the cursor will return to its original position when no match is found and when pressing <Esc>. You still need to finish the search command with <Enter> to move the
