Document how to override defaults in g:gitgutter_floating_window_options

Closes #851.
This commit is contained in:
Andy Stewart
2023-03-16 09:48:08 +00:00
parent 3d29f67380
commit 44dbd57dd1
2 changed files with 15 additions and 1 deletions

View File

@@ -547,6 +547,13 @@ Default:
This dictionary is passed directly to |popup_create()| (Vim) or
|nvim_open_win()| (Neovim).
If you simply want to override one or two of the default values, create a file
in an after/ directory. For example:
>
" ~/.vim/after/vim-gitgutter/overrides.vim
let g:gitgutter_floating_window_options['border'] = 'single'
<
*g:gitgutter_close_preview_on_escape*
Default: 0