diff --git a/autoload/blamer.vim b/autoload/blamer.vim index 282eba0..fa0ef09 100644 --- a/autoload/blamer.vim +++ b/autoload/blamer.vim @@ -148,7 +148,7 @@ function! blamer#GetMessages(file, line_number, line_count) abort return '' elseif l:result =~? 'is outside repository' return '' - elseif l:result =~? 'has only' && l:result =~? 'lines' + elseif l:result =~? 'has only' && l:result =~? 'lines\?' return '' elseif l:result =~? 'no such ref' return ''