Simplify some code and format some tests better

This commit is contained in:
w0rp committed 2017-04-24 21:11:33 +01:00
1 parent 689921d7e3
commit 99afe586b3
8 files changed
+195 -245

No files matched your search

-4
View File
@@ -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