diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index e2da97a..dab88e8 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -308,8 +308,8 @@ function! s:find_other_signs(file_name) redir END let s:other_signs = [] for sign_line in split(signs, '\n') - if sign_line =~ '^\s\+line' - let matches = matchlist(sign_line, '^\s\+line=\(\d\+\)') + if sign_line =~ '^\s\+\w\+=' + let matches = matchlist(sign_line, '^\s\+\w\+=\(\d\+\)') let line_number = str2nr(matches[1]) call add(s:other_signs, line_number) endif