1
0
mirror of https://github.com/amix/vimrc synced 2025-08-02 19:15:00 +08:00

Updated plugins

This commit is contained in:
Amir
2021-10-28 21:48:21 +02:00
parent e13b2a10a7
commit b39d6ca807
27 changed files with 348 additions and 120 deletions

View File

@ -55,13 +55,19 @@ function! ale_linters#dockerfile#hadolint#Handle(buffer, lines) abort
let l:detail = 'hadolint could not parse the file because of a syntax error.'
endif
call add(l:output, {
let l:line_output = {
\ 'lnum': l:lnum,
\ 'col': l:colnum,
\ 'type': l:type,
\ 'text': l:text,
\ 'detail': l:detail
\})
\}
if l:code isnot# ''
let l:line_output['code'] = l:code
endif
call add(l:output, l:line_output)
endfor
return l:output