Don't remember the dummy sign

References #102.
This commit is contained in:
Marco Hinz 2013-12-06 22:43:51 +01:00
parent 25d338a5a3
commit 2f1def6b9d

View File

@ -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