mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-13 12:30:40 +08:00
Update grepper (#3895)
close https://github.com/SpaceVim/SpaceVim/issues/3714
This commit is contained in:
parent
50c5e3d70f
commit
496cdd2c99
@ -984,9 +984,9 @@ function! s:finish_up(flags)
|
||||
\ ? cmdline
|
||||
\ : {'title': cmdline, 'context': {'query': @/}}
|
||||
if qf
|
||||
call setqflist(list, a:flags.append ? 'a' : 'r', attrs)
|
||||
call setqflist([], a:flags.append ? 'a' : 'r', attrs)
|
||||
else
|
||||
call setloclist(0, list, a:flags.append ? 'a' : 'r', attrs)
|
||||
call setloclist(0, [], a:flags.append ? 'a' : 'r', attrs)
|
||||
endif
|
||||
catch /E118/
|
||||
endtry
|
||||
|
Loading…
x
Reference in New Issue
Block a user