summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorD. Ben Knoble <ben.knoble+github@gmail.com>2021-07-04 08:17:44 -0400
committerGitHub <noreply@github.com>2021-07-04 21:17:44 +0900
commitd6302d18580c8886c14ac9f63d05466cbb43ee17 (patch)
tree1f010f7fdb827c94399d8851bc59d1570c52c659 /ale_linters
parent12d8803015d5850d0e4f8fd0a713262b86a195d7 (diff)
downloadale-d6302d18580c8886c14ac9f63d05466cbb43ee17.zip
racket/raco: add filename to loc list (#3777)
This allows the location list from one buffer to point to an issue in another; previously, the error message would be shown but with no way to jump to it.
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/racket/raco.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/racket/raco.vim b/ale_linters/racket/raco.vim
index e5ee4fb4..5b26065f 100644
--- a/ale_linters/racket/raco.vim
+++ b/ale_linters/racket/raco.vim
@@ -14,6 +14,7 @@ function! ale_linters#racket#raco#Handle(buffer, lines) abort
for l:match in ale#util#GetMatches(a:lines, l:pattern)
call add(l:output, {
+ \ 'filename': l:match[2],
\ 'lnum': l:match[3] + 0,
\ 'col': l:match[4] + 0,
\ 'type': 'E',