fix sign overwriting regex
Signs (from Syntastic in this case) were overwritten, although g:signify_sign_overwrite was set to 0, because the used regex was buggy. Add Ryan Kois as contributor. Closes #20.
This commit is contained in:
parent
a9ce03c16c
commit
98e324a281
@ -275,6 +275,7 @@ fritzophrenic (fritzophrenic)
|
|||||||
Morgan Fouesneau (mfouesneau)
|
Morgan Fouesneau (mfouesneau)
|
||||||
Zhao Cai (zhaocai)
|
Zhao Cai (zhaocai)
|
||||||
Otto Modinos (otommod)
|
Otto Modinos (otommod)
|
||||||
|
Ryan Kois (kid-icarus)
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
@ -194,8 +194,8 @@ function! s:sign_get_others(path) abort
|
|||||||
silent! execute 'sign place file='. a:path
|
silent! execute 'sign place file='. a:path
|
||||||
redir END
|
redir END
|
||||||
|
|
||||||
for line in filter(split(signlist, '\n'), 'v:val =~ "\v^\s+\w+"')
|
for line in filter(split(signlist, '\n'), 'v:val =~ "^\\s\\+line"')
|
||||||
let lnum = matchlist(line, '\v^\s+\w+\=(\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
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user