tomtom/quickfixsigns_vim

Unnecessary 'silent sign list' in plugin/quickfixsigns.vim?

blueyed opened this issue · 0 comments

In https://github.com/tomtom/quickfixsigns_vim/blob/master/plugin/quickfixsigns.vim#L241-244 the following code is being used:

let s:signss = s:Redir('silent sign list')
let g:quickfixsigns_signs = split(s:signss, '\n')
call filter(g:quickfixsigns_signs, 'v:val =~ ''^sign QFS_''')
call map(g:quickfixsigns_signs, 'matchstr(v:val, ''^sign \zsQFS_\w\+'')')

I cannot see how silent sign list is meant to output anything (given the :silent prefix, which is also added in s:Redir again).

The code might have been used to help with re-sourcing the plugin?!