summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorHoracio Sanson <horacio@allm.net>2018-12-11 23:44:06 +0900
committerHoracio Sanson <horacio@allm.net>2018-12-11 23:44:06 +0900
commit5052eca5cb59389275ff1341525214228bad324a (patch)
tree6ffb0acf40f7d20ae7f31a85d81a58f16dbf9b45 /ale_linters
parenta6a8c90126e83378280a21a01f947ef0a8f1af8a (diff)
downloadale-5052eca5cb59389275ff1341525214228bad324a.zip
Add tests to lacheck linter
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/tex/lacheck.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/tex/lacheck.vim b/ale_linters/tex/lacheck.vim
index 1d615c59..ee09fb41 100644
--- a/ale_linters/tex/lacheck.vim
+++ b/ale_linters/tex/lacheck.vim
@@ -21,7 +21,7 @@ function! ale_linters#tex#lacheck#Handle(buffer, lines) abort
" lacheck follows `\input{}` commands. We are only interested in
" reporting errors for the current buffer only.
- if empty(matchstr(fnamemodify(l:match[1], ':t'), bufname(a:buffer)))
+ if empty(matchstr(fnamemodify(l:match[1], ':t'), fnamemodify(bufname(a:buffer), ':t')))
continue
endif