From eabf5d55d69131c8a3f5ba50d3c15b36cde1f9e6 Mon Sep 17 00:00:00 2001 From: yasuhiroki Date: Wed, 13 Jun 2018 09:10:22 +0900 Subject: Add end_lnum and end_col in cfn_python_lint handler --- ale_linters/cloudformation/cfn_python_lint.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ale_linters/cloudformation/cfn_python_lint.vim') diff --git a/ale_linters/cloudformation/cfn_python_lint.vim b/ale_linters/cloudformation/cfn_python_lint.vim index a401f224..25e86ca3 100644 --- a/ale_linters/cloudformation/cfn_python_lint.vim +++ b/ale_linters/cloudformation/cfn_python_lint.vim @@ -15,6 +15,8 @@ function! ale_linters#cloudformation#cfn_python_lint#Handle(buffer, lines) abort call add(l:output, { \ 'lnum': l:match[2] + 0, \ 'col': l:match[3] + 0, + \ 'end_lnum': l:match[4] + 0, + \ 'end_col': l:match[5] + 0, \ 'text': l:match[7], \ 'code': l:code, \ 'type': l:code[:0] is# 'E' ? 'E' : 'W', -- cgit v1.2.3