From ae8dd39760f1d6e3d9a8110c1d2ec1e2034131c5 Mon Sep 17 00:00:00 2001 From: haginaga Date: Sun, 27 May 2018 22:45:43 +0900 Subject: Fix an incorrect argument of ale#Var in ale_linters#php#phan#Handle --- ale_linters/php/phan.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ale_linters/php/phan.vim b/ale_linters/php/phan.vim index ce5cadcb..c6f16356 100644 --- a/ale_linters/php/phan.vim +++ b/ale_linters/php/phan.vim @@ -45,7 +45,7 @@ function! ale_linters#php#phan#Handle(buffer, lines) abort let l:output = [] for l:match in ale#util#GetMatches(a:lines, l:pattern) - if ale#Var('php_phan_use_client') == 1 + if ale#Var(a:buffer, 'php_phan_use_client') == 1 let l:dict = { \ 'lnum': l:match[4] + 0, \ 'text': l:match[2], -- cgit v1.2.3