diff options
author | James McCoy <jamessan@jamessan.com> | 2017-12-18 21:37:11 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-12-18 21:39:51 -0500 |
commit | dd2739286195c8953a31346908f02a85563a3fa2 (patch) | |
tree | 30c3b48708c6ad972e75f4c0fb45f2e2ffe85201 /src/nvim/quickfix.c | |
parent | 1b2d386a852fcdf1f7509dc29f2a26ab8e5b59ca (diff) | |
download | rneovim-dd2739286195c8953a31346908f02a85563a3fa2.tar.gz rneovim-dd2739286195c8953a31346908f02a85563a3fa2.tar.bz2 rneovim-dd2739286195c8953a31346908f02a85563a3fa2.zip |
vim-patch:8.0.0574: get only one quickfix list after :caddbuf
Problem: Get only one quickfix list after :caddbuf.
Solution: Reset qf_multiline. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/99895eac1cf71be43ece7e14b50e206e041fbe9f
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index be998077c0..ee3bb1dfba 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -2411,12 +2411,18 @@ static void qf_free(qf_info_T *qi, int idx) qi->qf_lists[idx].qf_ptr = NULL; qi->qf_lists[idx].qf_title = NULL; qi->qf_lists[idx].qf_index = 0; + qi->qf_lists[idx].qf_start = NULL; qi->qf_lists[idx].qf_last = NULL; + qi->qf_lists[idx].qf_ptr = NULL; + qi->qf_lists[idx].qf_nonevalid = true; qf_clean_dir_stack(&qi->qf_dir_stack); qi->qf_directory = NULL; qf_clean_dir_stack(&qi->qf_file_stack); qi->qf_currfile = NULL; + qi->qf_multiline = false; + qi->qf_multiignore = false; + qi->qf_multiscan = false; } /* |