mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-15 06:43:51 -05:00
Support "(modified content, untracked content)"
This commit is contained in:
@@ -619,7 +619,7 @@ function! s:StageToggle(lnum1,lnum2) abort
|
|||||||
endif
|
endif
|
||||||
return ''
|
return ''
|
||||||
endif
|
endif
|
||||||
let filename = matchstr(line,'^#\t\%([[:alpha:] ]\+: *\)\=\zs.\{-\}\ze\%( (new commits)\)\=$')
|
let filename = matchstr(line,'^#\t\%([[:alpha:] ]\+: *\)\=\zs.\{-\}\ze\%( (\a\+ [[:alpha:], ]\+)\)\=$')
|
||||||
if filename ==# ''
|
if filename ==# ''
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user