Use floating window for preview instead of popup

This commit is contained in:
Andy Stewart
2021-03-17 14:30:49 +00:00
parent 64062dfe02
commit f2a825f405

View File

@@ -25,7 +25,7 @@ let g:gitgutter_preview_win_location = get(g:, 'gitgutter_preview_win_location',
if exists('*nvim_open_win') if exists('*nvim_open_win')
let g:gitgutter_preview_win_floating = get(g:, 'gitgutter_preview_win_floating', 1) let g:gitgutter_preview_win_floating = get(g:, 'gitgutter_preview_win_floating', 1)
else else
let g:gitgutter_preview_win_floating = get(g:, 'gitgutter_preview_win_floating', 0) let g:gitgutter_preview_win_floating = get(g:, 'gitgutter_preview_win_floating', !empty(&previewpopup))
endif endif
let g:gitgutter_enabled = get(g:, 'gitgutter_enabled', 1) let g:gitgutter_enabled = get(g:, 'gitgutter_enabled', 1)
if exists('*sign_unplace') if exists('*sign_unplace')