diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 90f123f..805518a 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -2840,7 +2840,7 @@ function! s:cfile() abort elseif getline('.') =~# '^#\trenamed:.* -> ' let file = '/'.matchstr(getline('.'),' -> \zs.*') return [file] - elseif getline('.') =~# '^#\t\(\k\| \)\+: *.' + elseif getline('.') =~# '^#\t\(\k\| \)\+\p\?: *.' let file = '/'.matchstr(getline('.'),': *\zs.\{-\}\ze\%( ([^()[:digit:]]\+)\)\=$') return [file] elseif getline('.') =~# '^#\t.'