Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 69d20ef

Browse files
committed
Elixir: handle warnings.
1 parent fe3a48f commit 69d20ef

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

plugin/syntastic.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if has('reltime')
1919
lockvar! g:_SYNTASTIC_START
2020
endif
2121

22-
let g:_SYNTASTIC_VERSION = '3.6.0-48'
22+
let g:_SYNTASTIC_VERSION = '3.6.0-49'
2323
lockvar g:_SYNTASTIC_VERSION
2424

2525
" Sanity checks {{{1

syntax_checkers/elixir/elixir.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ function! SyntaxCheckers_elixir_elixir_GetLocList() dict
4444

4545
let make_options['makeprg'] = self.makeprgBuild({ 'exe': compile_command })
4646

47-
let make_options['errorformat'] = '** %*[^\ ] %f:%l: %m'
47+
let make_options['errorformat'] =
48+
\ '%E** %*[^\ ] %f:%l: %m,'
49+
\ '%W%f:%l: warning: %m'
4850

4951
return SyntasticMake(make_options)
5052
endfunction

0 commit comments

Comments
 (0)