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