mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Add g:gitgutter_use_location_list option
This commit is contained in:
committed by
Andy Stewart
parent
b97acf2c8a
commit
d36686e6a5
@@ -207,5 +207,9 @@ function! gitgutter#quickfix()
|
||||
let lnum = 0
|
||||
endif
|
||||
endfor
|
||||
call setqflist(locations)
|
||||
if !g:gitgutter_use_location_list
|
||||
call setqflist(locations)
|
||||
else
|
||||
call setloclist(0, locations)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user