commit 80ef19665a707aa8947dd9e5b8f82cbcec2f7b74 (tree)
parent 18893e8ca7cd24b068f82b666fb961972e0931ed
Author: Tim Pope <code@tpope.net>
Date: Thu, 26 Sep 2019 10:48:04 -0400
Fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -3737,7 +3737,7 @@ function! s:GrepSubcommand(line1, line2, range, bang, mods, args) abort
redraw
call s:QuickfixCreate(listnr, {'title': (listnr < 0 ? ':Ggrep ' : ':Glgrep ') . s:fnameescape(args)})
let tempfile = tempname()
- let event = listnr < 0 ? 'grep-fugtiive' : 'lgrep-fugitive'
+ let event = listnr < 0 ? 'grep-fugitive' : 'lgrep-fugitive'
silent exe s:DoAutocmd('QuickFixCmdPre ' . event)
exe '!' . escape(s:UserCommand(dir, cmd + args), '%#!')
\ printf(&shellpipe . (&shellpipe =~# '%s' ? '' : ' %s'), s:shellesc(tempfile))