dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit bd010f1b31d504139a48983d7385ee43a6468b01 (patch)
parent 614af6b3c3b1aeb7e2673f18741a806cebc6676c
Author: Alexander <akarle@umass.edu>
Date:   Thu,  8 Nov 2018 16:55:57 -0500

vim: Fix edge case in GitGrep function

Diffstat:
Mvim/vimrc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -149,6 +149,10 @@ function! GitGrep(word) abort let qfitems = [] for m in matches let items = split(m, ':') + " Rare case that we match a binary file + if len(items) < 3 + continue + endif let d = { \'filename': items[0], \'lnum': items[1],