From 9e57c0f7170b282f0d3428e82b76bdeb1e7b03be Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 15 Jun 2016 00:33:02 +0200 Subject: [PATCH] Fix sh maker: recognize output format without 'line' from dash (#459) This is apparently used on Travis, but makes sense in general - e.g. probably still for Ubuntu systems?! --- autoload/neomake/makers/ft/sh.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoload/neomake/makers/ft/sh.vim b/autoload/neomake/makers/ft/sh.vim index 1b99613adb358a..8685e285918494 100644 --- a/autoload/neomake/makers/ft/sh.vim +++ b/autoload/neomake/makers/ft/sh.vim @@ -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