Bug fix: getwinvar() got its third argument only in Vim 7.3.831.
This commit is contained in:
parent
4ae72576da
commit
7a919a4d0a
@ -155,7 +155,7 @@ function! g:SyntasticLoclist.show()
|
|||||||
for buf in tabpagebuflist()
|
for buf in tabpagebuflist()
|
||||||
if buflisted(buf) && bufloaded(buf) && getbufvar(buf, '&buftype') ==# 'quickfix'
|
if buflisted(buf) && bufloaded(buf) && getbufvar(buf, '&buftype') ==# 'quickfix'
|
||||||
let win = bufwinnr(buf)
|
let win = bufwinnr(buf)
|
||||||
let title = getwinvar(win, 'quickfix_title', '')
|
let title = getwinvar(win, 'quickfix_title')
|
||||||
if title ==# ':setloclist()' || strpart(title, 0, 16) ==# ':SyntasticCheck '
|
if title ==# ':setloclist()' || strpart(title, 0, 16) ==# ':SyntasticCheck '
|
||||||
call setwinvar(win, 'quickfix_title', ':SyntasticCheck ' . self._name)
|
call setwinvar(win, 'quickfix_title', ':SyntasticCheck ' . self._name)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user