Skip to content

Commit

Permalink
Fix sh maker: recognize output format without 'line' from dash (neovi…
Browse files Browse the repository at this point in the history
…m#459)

This is apparently used on Travis, but makes sense in general - e.g.
probably still for Ubuntu systems?!
  • Loading branch information
blueyed committed Jun 14, 2016
1 parent 0de96a8 commit 9e57c0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion autoload/neomake/makers/ft/sh.vim
Expand Up @@ -39,9 +39,12 @@ function! neomake#makers#ft#sh#sh()
let args = ['-n']
endif

" NOTE: the format without "line" is used by dash.
return {
\ 'exe': exe,
\ 'args': args,
\ 'errorformat': '%f: line %l: %m'
\ 'errorformat':
\ '%f: line %l: %m,' .
\ '%f: %l: %m'
\}
endfunction

0 comments on commit 9e57c0f

Please sign in to comment.