vim:fzf: Use location list instead of the quickfix
Since the quickfix is a global list I can't keep multiple ripgrep searches open at once. The location list is window-local thus solving this issue.
This commit is contained in:
@@ -38,6 +38,12 @@ if (exists("g:loaded_tmux_navigator"))
|
||||
let g:tmux_navigator_disable_when_zoomed = 1
|
||||
endif
|
||||
|
||||
if (get(g:, 'loaded_fzf_vim'))
|
||||
let g:fzf_vim = {}
|
||||
" Use location list instead of quickfix list
|
||||
let g:fzf_vim.listproc = { list -> fzf#vim#listproc#location(list) }
|
||||
endif
|
||||
|
||||
if (get(g:, 'loaded_vimwiki'))
|
||||
" Use vertical box drawing character as table separator
|
||||
call vimwiki#vars#set_syntaxlocal('rxTableSep', '│')
|
||||
|
||||
Reference in New Issue
Block a user