mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Remove unnecessary conditional.
This commit is contained in:
@@ -28,8 +28,8 @@ function! sign#find_other_signs(file_name)
|
|||||||
redir END
|
redir END
|
||||||
let s:other_signs = []
|
let s:other_signs = []
|
||||||
for sign_line in split(signs, '\n')
|
for sign_line in split(signs, '\n')
|
||||||
if sign_line =~ '^\s\+\w\+='
|
let matches = matchlist(sign_line, '^\s\+\w\+=\(\d\+\)')
|
||||||
let matches = matchlist(sign_line, '^\s\+\w\+=\(\d\+\)')
|
if len(matches) > 0
|
||||||
let line_number = str2nr(matches[1])
|
let line_number = str2nr(matches[1])
|
||||||
call add(s:other_signs, line_number)
|
call add(s:other_signs, line_number)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user