Add g:gitgutter_use_location_list option

This commit is contained in:
Richard Robbins
2019-11-16 11:36:58 -08:00
committed by Andy Stewart
parent b97acf2c8a
commit d36686e6a5
3 changed files with 16 additions and 2 deletions

View File

@@ -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