summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/dockerfile/hadolint.vim1
-rw-r--r--ale_linters/go/gobuild.vim4
-rw-r--r--ale_linters/go/gometalinter.vim4
3 files changed, 0 insertions, 9 deletions
diff --git a/ale_linters/dockerfile/hadolint.vim b/ale_linters/dockerfile/hadolint.vim
index ab96d3cf..1ac94ce3 100644
--- a/ale_linters/dockerfile/hadolint.vim
+++ b/ale_linters/dockerfile/hadolint.vim
@@ -18,7 +18,6 @@ function! ale_linters#dockerfile#hadolint#Handle(buffer, lines) abort
let l:text = l:match[3]
call add(l:output, {
- \ 'bufnr': a:buffer,
\ 'lnum': l:lnum,
\ 'col': 0,
\ 'type': l:type,
diff --git a/ale_linters/go/gobuild.vim b/ale_linters/go/gobuild.vim
index eee0bf84..419e67a0 100644
--- a/ale_linters/go/gobuild.vim
+++ b/ale_linters/go/gobuild.vim
@@ -50,15 +50,11 @@ function! ale_linters#go#gobuild#HandleGoBuildErrors(buffer, full_filename, line
continue
endif
- " vcol is Needed to indicate that the column is a character.
call add(l:output, {
- \ 'bufnr': a:buffer,
\ 'lnum': l:match[1] + 0,
- \ 'vcol': 0,
\ 'col': l:match[2] + 0,
\ 'text': l:match[3],
\ 'type': 'E',
- \ 'nr': -1,
\})
endfor
diff --git a/ale_linters/go/gometalinter.vim b/ale_linters/go/gometalinter.vim
index 71d60c54..b71747c3 100644
--- a/ale_linters/go/gometalinter.vim
+++ b/ale_linters/go/gometalinter.vim
@@ -32,15 +32,11 @@ function! ale_linters#go#gometalinter#Handler(buffer, lines) abort
continue
endif
- " vcol is Needed to indicate that the column is a character.
call add(l:output, {
- \ 'bufnr': a:buffer,
\ 'lnum': l:match[1] + 0,
- \ 'vcol': 0,
\ 'col': l:match[2] + 0,
\ 'text': l:match[4],
\ 'type': tolower(l:match[3]) ==# 'warning' ? 'W' : 'E',
- \ 'nr': -1,
\})
endfor