From b2fe1b2567a1a1e6a5e2ff805a46fa7f546ce62c Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 26 Feb 2017 14:51:22 +0000 Subject: Copy all loclist items returned from handlers, and set up defaults for convenience --- ale_linters/ruby/rubocop.vim | 2 -- 1 file changed, 2 deletions(-) (limited to 'ale_linters/ruby/rubocop.vim') diff --git a/ale_linters/ruby/rubocop.vim b/ale_linters/ruby/rubocop.vim index 87fc7b79..7f6985de 100644 --- a/ale_linters/ruby/rubocop.vim +++ b/ale_linters/ruby/rubocop.vim @@ -23,11 +23,9 @@ function! ale_linters#ruby#rubocop#Handle(buffer, lines) abort call add(l:output, { \ 'bufnr': a:buffer, \ 'lnum': l:match[1] + 0, - \ 'vcol': 0, \ 'col': l:match[2] + 0, \ 'text': l:text, \ 'type': index(['C', 'E'], l:type) != -1 ? 'E' : 'W', - \ 'nr': -1, \}) endfor -- cgit v1.2.3