Use floating windows for hunk previews on Neovim.

This commit is contained in:
Andy Stewart
2019-08-27 16:02:51 +01:00
parent 0c3e7219b4
commit f0f56b9569
4 changed files with 120 additions and 20 deletions

View File

@@ -269,6 +269,7 @@ You can customise:
* Whether vim-gitgutter runs asynchronously (defaults to yes)
* Whether to clobber or preserve non-gitgutter signs
* The priority of gitgutter's signs.
* Whether to use a floating window for hunk previews (Neovim only)
Please note that vim-gitgutter won't override any colours or highlights you've set in your colorscheme.
@@ -454,6 +455,11 @@ let g:gitgutter_async = 0
```
#### To use floating windows for hunk previews
Add `let g:gitgutter_preview_win_floating = 1` to your vimrc. This only takes effect on Neovim.
### Extensions
#### Operate on every line in a hunk