mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-17 19:41:27 +08:00
dafny: include correct filename in lint results
Results can come from included files, not just the current buffer.
This commit is contained in:
1 parent
b91c6c2edd
commit
c37cc1c8a3
1 file changed
+1
-1
@@ -6,7 +6,7 @@ function! ale_linters#dafny#dafny#Handle(buffer, lines) abort
|
||||
|
||||
for l:match in ale#util#GetMatches(a:lines, l:pattern)
|
||||
call add(l:output, {
|
||||
\ 'bufnr': a:buffer,
|
||||
\ 'filename': l:match[1],
|
||||
\ 'col': l:match[3] + 0,
|
||||
\ 'lnum': l:match[2] + 0,
|
||||
\ 'text': l:match[5],
|
||||
|
||||
Reference in new issue
Block a user