mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Use floating window for preview instead of popup
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user