commit 40fd691f5e2b2375f40057978ca2ed0c206a3efa
parent db24af722b51c7cb3393563db854ff9395d804ae
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 27 Jan 2020 14:50:25 +0100
vim: fix vim-qf and dispatch integration issue
Former-commit-id: 134a2c82975113f76a216034da004e5a0e0b7897
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -312,6 +312,9 @@ nnoremap <leader>u :MundoToggle<CR>
nmap <leader>qn <Plug>(qf_qf_next)
nmap <leader>qp <Plug>(qf_qf_previous)
nmap <leader>qf <Plug>(qf_qf_toggle)
+" Disable auto-open because it interferes with Dispatch reverting makeprg
+" See here https://github.com/tpope/vim-dispatch/issues/254
+let g:qf_auto_open_quickfix = 0
" }}}
" Dispatch {{{
" Disable default maps