From 7a919a4d0ae7e7bfe5611945bd9e354a95da963d Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Fri, 7 Jun 2013 22:23:56 +0300 Subject: [PATCH] Bug fix: getwinvar() got its third argument only in Vim 7.3.831. --- plugin/syntastic/loclist.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/syntastic/loclist.vim b/plugin/syntastic/loclist.vim index dbeff638..0b935621 100644 --- a/plugin/syntastic/loclist.vim +++ b/plugin/syntastic/loclist.vim @@ -155,7 +155,7 @@ function! g:SyntasticLoclist.show() for buf in tabpagebuflist() if buflisted(buf) && bufloaded(buf) && getbufvar(buf, '&buftype') ==# 'quickfix' let win = bufwinnr(buf) - let title = getwinvar(win, 'quickfix_title', '') + let title = getwinvar(win, 'quickfix_title') if title ==# ':setloclist()' || strpart(title, 0, 16) ==# ':SyntasticCheck ' call setwinvar(win, 'quickfix_title', ':SyntasticCheck ' . self._name) endif