From 99afe586b3a42adce580011079a83bbdaab675bd Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 24 Apr 2017 21:11:27 +0100 Subject: Simplify some code and format some tests better --- ale_linters/go/gometalinter.vim | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ale_linters/go/gometalinter.vim') 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 -- cgit v1.2.3