diff options
author | w0rp <devw0rp@gmail.com> | 2017-02-26 14:51:22 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-02-26 14:51:22 +0000 |
commit | b2fe1b2567a1a1e6a5e2ff805a46fa7f546ce62c (patch) | |
tree | 009f7b779ad1e800fd4b9c278954e2c81779d6de /ale_linters/json/jsonlint.vim | |
parent | f1e80b800cc8c8488c9561b0db07304157ae489b (diff) | |
download | ale-b2fe1b2567a1a1e6a5e2ff805a46fa7f546ce62c.zip |
Copy all loclist items returned from handlers, and set up defaults for convenience
Diffstat (limited to 'ale_linters/json/jsonlint.vim')
-rw-r--r-- | ale_linters/json/jsonlint.vim | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ale_linters/json/jsonlint.vim b/ale_linters/json/jsonlint.vim index 5af8f625..e1fb2bd5 100644 --- a/ale_linters/json/jsonlint.vim +++ b/ale_linters/json/jsonlint.vim @@ -18,11 +18,9 @@ function! ale_linters#json#jsonlint#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:match[3], \ 'type': 'E', - \ 'nr': -1, \}) endfor |