From b3010ad7930344a06163a99182c21e4c768f8a23 Mon Sep 17 00:00:00 2001 From: Atsuya Takagi Date: Sat, 2 Jan 2021 16:54:06 +0900 Subject: [PATCH] fix the wrong variable name --- ale_linters/vala/vala_lint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ale_linters/vala/vala_lint.vim b/ale_linters/vala/vala_lint.vim index f102d567..0940f294 100644 --- a/ale_linters/vala/vala_lint.vim +++ b/ale_linters/vala/vala_lint.vim @@ -15,7 +15,7 @@ function! ale_linters#vala#vala_lint#Handle(buffer, lines) abort let l:cleaned_line = substitute(l:line, '\x1b\[[0-9;]*m', '', 'g') execute 'echo l:line' execute 'echo l:cleaned_line' - let l:match = matchlist(l:cleaned, l:pattern) + let l:match = matchlist(l:cleaned_line, l:pattern) if len(l:match) == 0 continue