mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00:00
vim-patch:8.2.3163: location list window may open a wrong file
Problem: Location list window may open a wrong file.
Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes vim/vim#8565,
closes vim/vim#8566)
1557b16dad
This commit is contained in:
@@ -3014,6 +3014,7 @@ static void qf_jump_newwin(qf_info_T *qi, int dir, int errornr, int forceit,
|
||||
}
|
||||
|
||||
qfl->qf_index = qf_index;
|
||||
qfl->qf_ptr = qf_ptr;
|
||||
if (qf_win_pos_update(qi, old_qf_index)) {
|
||||
// No need to print the error message if it's visible in the error
|
||||
// window
|
||||
|
Reference in New Issue
Block a user