You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
549 B
Plaintext
25 lines
549 B
Plaintext
7 years ago
|
Before:
|
||
|
runtime ale_linters/erlang/syntaxerl.vim
|
||
|
|
||
|
After:
|
||
|
call ale#linter#Reset()
|
||
|
|
||
|
Execute (Handle SyntaxErl output):
|
||
|
AssertEqual
|
||
|
\ [
|
||
|
\ {
|
||
|
\ 'lnum': 42,
|
||
|
\ 'text': "syntax error before: ','",
|
||
|
\ 'type': 'E',
|
||
|
\ },
|
||
|
\ {
|
||
|
\ 'lnum': 42,
|
||
|
\ 'text': 'function foo/0 is unused',
|
||
|
\ 'type': 'W',
|
||
|
\ },
|
||
|
\ ],
|
||
|
\ ale_linters#erlang#syntaxerl#Handle(bufnr(''), [
|
||
|
\ "/tmp/v2wDixk/1/module.erl:42: syntax error before: ','",
|
||
|
\ '/tmp/v2wDixk/2/module.erl:42: warning: function foo/0 is unused',
|
||
|
\ ])
|