Add tests to lacheck linter

This commit is contained in:
Horacio Sanson committed 2018-12-11 23:44:06 +09:00
1 parent a6a8c90126
commit 5052eca5cb
5 files changed
+50 -1

No files matched your search

+1 -1
View File
@@ -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