mirror of https://github.com/dense-analysis/ale
17 lines
435 B
Plaintext
17 lines
435 B
Plaintext
Execute(The crystal handler should parse lines correctly and add the column if it can):
|
|
runtime ale_linters/crystal/crystal.vim
|
|
AssertEqual
|
|
\ [
|
|
\ {
|
|
\ 'lnum': 2,
|
|
\ 'col': 1,
|
|
\ 'text': 'unexpected token: EOF'
|
|
\ }
|
|
\ ],
|
|
\ ale_linters#crystal#crystal#Handle(255, [
|
|
\ '[{"file":"/tmp/test.cr","line":2,"column":1,"size":null,"message":"unexpected token: EOF"}]'
|
|
\ ])
|
|
|
|
After:
|
|
call ale#linter#Reset()
|