mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Add end_lnum and end_col in cfn_python_lint handler
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user