Skip to content
Permalink
master

Commits on Feb 19, 2022

Commits on Feb 2, 2022

  1. Fix enabling buffer when plugin disabled

    Fixes #803.
    airblade committed Feb 2, 2022
  2. Capitalise NONE for consistency

    Although group names are case-insensitive:
    
    - Vim's docs use NONE;
    - the code already uses NONE elsewhere.
    airblade committed Feb 2, 2022
  3. 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.
    0mp authored and airblade committed Feb 2, 2022

Commits on Jan 29, 2022

Commits on Sep 7, 2021

Commits on Aug 30, 2021

  1. fix quickfix for combined diffs

    The --cc option is issued for merge conflicts.
    Georgi Kirilov committed Aug 30, 2021

Commits on Jun 8, 2021

Commits on Jun 3, 2021

  1. 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.
    airblade committed Jun 3, 2021

Commits on Jun 2, 2021

  1. Expose is-open and close hunk-preview-window functions

    This allows custom maps for closing the hunk preview window.
    
    See #784.
    airblade committed Jun 2, 2021
  2. Clear unwanted characters in nmap

    See #784.
    airblade committed Jun 2, 2021

Commits on Apr 22, 2021

  1. Remove useless comparison

    airblade committed Apr 22, 2021
  2. Update open preview on hunk jump

    See #396, #779.
    airblade committed Apr 22, 2021
  3. 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.
    airblade committed Apr 22, 2021
  4. Remove stale link

    airblade committed Apr 22, 2021
  5. Capitalize warning messages

    VincentCordobes authored and airblade committed Apr 22, 2021
  6. Clean up warning messages

    VincentCordobes authored and airblade committed Apr 22, 2021

Commits on Apr 13, 2021

  1. Fix resizing of existing non-floating hunk preview window

    This bug was introduced by 9784226 in #708.  It had the effect of not
    allowing an existing hunk preview window to increase in size for a
    larger hunk (up to 'previewheight').
    
    See #775.
    airblade committed Apr 13, 2021

Commits on Mar 19, 2021

  1. Avoid cursor in unexpected window after Esc in preview

    Thanks @andymass for the patch.
    
    See #769.
    airblade committed Mar 19, 2021

Commits on Mar 16, 2021

Commits on Mar 15, 2021

  1. 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.
    airblade committed Mar 15, 2021
  2. 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.
    airblade committed Mar 15, 2021
Older