From 2f9252304cc001e7de0f445ef382f3bb79a4382c Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 11 Oct 2020 01:56:46 -0400 Subject: vim-patch:8.2.1823: "gN" does not select the matched string Problem: "gN" does not select the matched string. Solution: Move the cursor to the start of the match. https://github.com/vim/vim/commit/28f224b2c1bd2fcdee7b4fe2c64826e1cff08f39 N/A patches for version.c: vim-patch:8.2.1820: Vim9: crash when error happens in timer callback Problem: Vim9: crash when error happens in timer callback. Solution: Check that current_exception is not NULL. (closes vim/vim#7100) https://github.com/vim/vim/commit/820d55a50bbc8c0ad0505b7e4302a734896b6bab vim-patch:8.2.1829: warnings when executing Github actions Problem: Warnings when executing Github actions. Solution: Use another method to set environment variables. (Ken Takata, closes vim/vim#7107) https://github.com/vim/vim/commit/bd6428b9e79ed85b54ea7eaa11871fa09d63ab6f vim-patch:8.2.1830: MS-Windows: Python3 issue with stdin Problem: MS-Windows: Python3 issue with stdin. Solution: Check if stdin is readable. (Ken Takata, closes vim/vim#7106) https://github.com/vim/vim/commit/c6ed254d9fda0ff54cdedce5597ff3e0d0218d18 vim-patch:8.2.1831: file missing from distribution Problem: File missing from distribution. Solution: Add the github code analyses file. https://github.com/vim/vim/commit/ef16c90423ae579927e6294c1ccfd17c5a1c113c --- src/nvim/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/search.c') diff --git a/src/nvim/search.c b/src/nvim/search.c index ea2107c5c7..82f2cf28ab 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -4186,7 +4186,7 @@ current_search( curwin->w_cursor = end_pos; if (lt(VIsual, end_pos) && forward) { dec_cursor(); - } else if (VIsual_active && lt(curwin->w_cursor, VIsual)) { + } else if (VIsual_active && lt(curwin->w_cursor, VIsual) && forward) { curwin->w_cursor = pos; // put the cursor on the start of the match } VIsual_active = true; -- cgit