From 09e6840d1fe52444128f987d68195e45334afaa7 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Fri, 21 Feb 2014 13:01:22 +0200 Subject: [PATCH] Fix debug output. --- autoload/syntastic/log.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/syntastic/log.vim b/autoload/syntastic/log.vim index 78e8b8eb..99698533 100644 --- a/autoload/syntastic/log.vim +++ b/autoload/syntastic/log.vim @@ -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