summaryrefslogtreecommitdiff
path: root/ale_linters/go/gometalinter.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-24 21:11:27 +0100
committerw0rp <devw0rp@gmail.com>2017-04-24 21:11:33 +0100
commit99afe586b3a42adce580011079a83bbdaab675bd (patch)
tree348bed5d0b5e38ca8e908015d7e1b40167dd5184 /ale_linters/go/gometalinter.vim
parent689921d7e3dd562383026c014d69d1ef011deeb9 (diff)
downloadale-99afe586b3a42adce580011079a83bbdaab675bd.zip
Simplify some code and format some tests better
Diffstat (limited to 'ale_linters/go/gometalinter.vim')
-rw-r--r--ale_linters/go/gometalinter.vim4
1 files changed, 0 insertions, 4 deletions
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