diff options
author | Atsuya Takagi <asoftonight@gmail.com> | 2021-01-02 16:54:06 +0900 |
---|---|---|
committer | Atsuya Takagi <asoftonight@gmail.com> | 2021-01-23 00:08:01 +0900 |
commit | b3010ad7930344a06163a99182c21e4c768f8a23 (patch) | |
tree | c8e794d5039a18bae836307f43fadeec8b2432ad /ale_linters/vala | |
parent | 9eb6dace889174c61fbaa13ed3c59d91172b5c60 (diff) | |
download | ale-b3010ad7930344a06163a99182c21e4c768f8a23.zip |
fix the wrong variable name
Diffstat (limited to 'ale_linters/vala')
-rw-r--r-- | ale_linters/vala/vala_lint.vim | 2 |
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 |