diff options
author | yasuhiroki <yasuhiroki.duck@gmail.com> | 2018-06-13 09:10:22 +0900 |
---|---|---|
committer | yasuhiroki <yasuhiroki.duck@gmail.com> | 2018-06-13 09:11:14 +0900 |
commit | eabf5d55d69131c8a3f5ba50d3c15b36cde1f9e6 (patch) | |
tree | bab047b13f2cf21139a7480af008ed200df13ce8 /ale_linters/cloudformation/cfn_python_lint.vim | |
parent | ae25d71fa846df0383232d31768ff934192fe313 (diff) | |
download | ale-eabf5d55d69131c8a3f5ba50d3c15b36cde1f9e6.zip |
Add end_lnum and end_col in cfn_python_lint handler
Diffstat (limited to 'ale_linters/cloudformation/cfn_python_lint.vim')
-rw-r--r-- | ale_linters/cloudformation/cfn_python_lint.vim | 2 |
1 files changed, 2 insertions, 0 deletions
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', |