summaryrefslogtreecommitdiff
path: root/ale_linters/yaml/yamllint.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-02-26 14:51:22 +0000
committerw0rp <devw0rp@gmail.com>2017-02-26 14:51:22 +0000
commitb2fe1b2567a1a1e6a5e2ff805a46fa7f546ce62c (patch)
tree009f7b779ad1e800fd4b9c278954e2c81779d6de /ale_linters/yaml/yamllint.vim
parentf1e80b800cc8c8488c9561b0db07304157ae489b (diff)
downloadale-b2fe1b2567a1a1e6a5e2ff805a46fa7f546ce62c.zip
Copy all loclist items returned from handlers, and set up defaults for convenience
Diffstat (limited to 'ale_linters/yaml/yamllint.vim')
-rw-r--r--ale_linters/yaml/yamllint.vim2
1 files changed, 0 insertions, 2 deletions
diff --git a/ale_linters/yaml/yamllint.vim b/ale_linters/yaml/yamllint.vim
index 42006fb4..dcad70c3 100644
--- a/ale_linters/yaml/yamllint.vim
+++ b/ale_linters/yaml/yamllint.vim
@@ -39,11 +39,9 @@ function! ale_linters#yaml#yamllint#Handle(buffer, lines) abort
call add(l:output, {
\ 'bufnr': a:buffer,
\ 'lnum': l:line,
- \ 'vcol': 0,
\ 'col': l:col,
\ 'text': l:text,
\ 'type': l:type ==# 'error' ? 'E' : 'W',
- \ 'nr': -1,
\})
endfor