Update :Gblame supported options

This commit is contained in:
Tim Pope
2012-10-09 16:24:31 -04:00
parent cdb7bd9841
commit daccfb508f
2 changed files with 2 additions and 2 deletions

View File

@@ -1562,7 +1562,7 @@ function! s:Blame(bang,line1,line2,count,args) abort
if s:buffer().path() == ''
call s:throw('file or blob required')
endif
if filter(copy(a:args),'v:val !~# "^\\%(--root\|--show-name\\|-\\=\\%([ltwfs]\\|[MC]\\d*\\)\\+\\)$"') != []
if filter(copy(a:args),'v:val !~# "^\\%(--root\|--show-name\\|-\\=\\%([ltfnsew]\\|[MC]\\d*\\)\\+\\)$"') != []
call s:throw('unsupported option')
endif
call map(a:args,'s:sub(v:val,"^\\ze[^-]","-")')