summaryrefslogtreecommitdiff
path: root/ale_linters/vala/vala_lint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/vala/vala_lint.vim')
-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