From bdef67f0924aee3aa2f0175c013fc6aa57b97f5f Mon Sep 17 00:00:00 2001 From: "Suraj N. Kurapati" Date: Mon, 17 Oct 2022 11:31:57 -0700 Subject: [PATCH] fatal: file ... has only 1 line https://github.com/APZelos/blamer.nvim/commit/9222aa3a702112da2336f0dbb06922b4d8e01f55 --- autoload/blamer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ''