summaryrefslogtreecommitdiff
path: root/ale_linters/vala
diff options
context:
space:
mode:
authorAtsuya Takagi <asoftonight@gmail.com>2021-01-02 16:54:06 +0900
committerAtsuya Takagi <asoftonight@gmail.com>2021-01-23 00:08:01 +0900
commitb3010ad7930344a06163a99182c21e4c768f8a23 (patch)
treec8e794d5039a18bae836307f43fadeec8b2432ad /ale_linters/vala
parent9eb6dace889174c61fbaa13ed3c59d91172b5c60 (diff)
downloadale-b3010ad7930344a06163a99182c21e4c768f8a23.zip
fix the wrong variable name
Diffstat (limited to 'ale_linters/vala')
-rw-r--r--ale_linters/vala/vala_lint.vim2
1 files changed, 1 insertions, 1 deletions
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