Fix debug output.

This commit is contained in:
LCD 47 2014-02-21 13:01:22 +02:00
parent 99126e38ff
commit 09e6840d1f

View File

@ -96,8 +96,8 @@ function! syntastic#log#debugShowOptions(level, names)
let vlist = type(a:names) == type("") ? [a:names] : a:names
if !empty(vlist)
call map(copy(vlist), "'&' . v:val . ' = ' . strtrans(string(eval('&' . v:val)))")
echomsg leader . join(vlist, ', ')
let vals = map(copy(vlist), "'&' . v:val . ' = ' . strtrans(string(eval('&' . v:val)))")
echomsg leader . join(vals, ', ')
endif
call s:logRedirect(0)
endfunction