airblade / vim-gitgutter Public
Permalink
master
Commits on Feb 19, 2022
Commits on Feb 2, 2022
-
-
Capitalise NONE for consistency
Although group names are case-insensitive: - Vim's docs use NONE; - the code already uses NONE elsewhere.
-
Always pass some group name to sign arguments
E.g., passing an empty group name to the sign argument linehl (e.g., "linehl=") causes the following error: ``` Error detected while processing /usr/home/0mp/.vim/plugged/vim-gitgutter/plugin/gitgutter.vim[96]..function gitgutter#highlight#define_signs[10]..<SNR>56_define_sign_line_highlights: line 9: E1249: Group name missing for linehl ``` This patch makes the those errors go away by passing "None" when no group name is needed.
Commits on Jan 29, 2022
Commits on Sep 7, 2021
Commits on Aug 30, 2021
-
fix quickfix for combined diffs
The --cc option is issued for merge conflicts.
Georgi Kirilov committedAug 30, 2021
Commits on Aug 6, 2021
Commits on Jul 12, 2021
Commits on Jun 8, 2021
Commits on Jun 3, 2021
-
Close preview on escape: only map <Esc> while preview open
This only applies to floating preview windows on Neovim. Handles the following way of closing the floating preview: - <Esc> - Moving cursor - 2<C-W>c (where 2 is the floating window's window number) - <C-W><C-W> to move into and out of the floating window Closes #786.
Commits on Jun 2, 2021
-
Expose is-open and close hunk-preview-window functions
This allows custom maps for closing the hunk preview window. See #784.
Commits on May 24, 2021
Commits on Apr 22, 2021
-
-
Suppress echoing of preview window file name
The file name does not mean anything so it is unhelpful to show it. Not showing it avoids the hit-enter prompt which can occur.
-
-
-
Commits on Apr 13, 2021
Commits on Mar 19, 2021
Commits on Mar 18, 2021
Commits on Mar 17, 2021
Commits on Mar 16, 2021
Commits on Mar 15, 2021
-
Make statusline blank in hunk preview window
I would prefer to remove the statusline altogether in the hunk preview window, making it consistent with the floating preview window. However I do not think that is possible; the best one can do is make it blank.
-
Revert GitGutterGetHunkSummary() to show hunks when inactive
In da77e46 the function changed to be consistent with GitGutterGetHunks(), i.e. to show "no data" if called in a buffer for which gitgutter is inactive. This function is mostly used in status lines. GitGutter is inactive when a popup window is open. The commit mentioned above meant that when a completion window was open, the hunk summary in the status line changed to show no data. It changed back again once the completion window was closed, but the overall effect was a little distracting. This commit reverts the change. Closes #771.