parent
25d338a5a3
commit
2f1def6b9d
@ -13,7 +13,13 @@ function! sy#sign#get_others() abort
|
|||||||
silent! execute 'sign place buffer='. b:sy.buffer
|
silent! execute 'sign place buffer='. b:sy.buffer
|
||||||
redir END
|
redir END
|
||||||
|
|
||||||
for line in filter(split(signlist, '\n'), 'v:val =~ "^\\s\\+line"')
|
let lines = filter(split(signlist, '\n'), 'v:val =~ "^\\s\\+line"')
|
||||||
|
|
||||||
|
if lines[0] =~ 99999
|
||||||
|
call remove(lines, 0)
|
||||||
|
endif
|
||||||
|
|
||||||
|
for line in lines
|
||||||
let lnum = matchlist(line, '\v^\s+line\=(\d+)')[1]
|
let lnum = matchlist(line, '\v^\s+line\=(\d+)')[1]
|
||||||
let s:other_signs_line_numbers[lnum] = 1
|
let s:other_signs_line_numbers[lnum] = 1
|
||||||
endfor
|
endfor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user