mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 22:03:51 -05:00
Fix :Ggrep argument parsing off-by-one error
This commit is contained in:
@@ -5238,6 +5238,7 @@ function! s:GrepSubcommand(line1, line2, range, bang, mods, options) abort
|
||||
elseif args[i] =~# '^\%(-[qz]\|--quiet\)$'
|
||||
let quiet = 1
|
||||
call remove(args, i)
|
||||
continue
|
||||
elseif args[i] =~# '^--no-quiet$'
|
||||
let quiet = 0
|
||||
elseif args[i] =~# '^\%(--heading\)$'
|
||||
|
||||
Reference in New Issue
Block a user