Merge pull request #1618 from colbydehart/master

[new linter] Add mix linter for elixir
This commit is contained in:
w0rp
2018-06-20 22:47:56 +01:00
committed by GitHub
6 changed files with 122 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
Before:
runtime ale_linters/elixir/mix.vim
After:
call ale#linter#Reset()
Execute(The mix handler should parse lines correctly):
AssertEqual
\ [
\ {
\ 'bufnr': 347,
\ 'lnum': 87,
\ 'col': 0,
\ 'text': 'undefined function update_in/4',
\ 'type': 'E',
\ },
\ ],
\ ale_linters#elixir#mix#Handle(347, [
\ '** (CompileError) apps/sim/lib/sim/server.ex:87: undefined function update_in/4'
\ ])