From 45307b8a69f394c62bc5d26436354b9ded8ec336 Mon Sep 17 00:00:00 2001 From: Slm0n87 Date: Sun, 6 Jan 2019 20:08:55 +0100 Subject: [PATCH] caught error output w/o line and column - like 'Syntax error at end of input' --- syntax_checkers/puppet/puppet.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syntax_checkers/puppet/puppet.vim b/syntax_checkers/puppet/puppet.vim index 2f612dcc9..66cb4b99c 100644 --- a/syntax_checkers/puppet/puppet.vim +++ b/syntax_checkers/puppet/puppet.vim @@ -31,7 +31,8 @@ function! SyntaxCheckers_puppet_puppet_GetLocList() dict \ '%-GError: Try ''puppet help parser validate'' for usage,' . \ '%A%t%*[a-zA-Z]: %m at %f:%l:%c,' . \ '%A%t%*[a-zA-Z]: %m at %f:%l,'. - \ '%A%t%*[a-zA-Z]: Could not parse for environment production: %m (file: %f\, line: %l\, column: %c)' + \ '%A%t%*[a-zA-Z]: Could not parse for environment production: %m (file: %f\, line: %l\, column: %c),' . + \ '%A%t%*[a-zA-Z]: Could not parse for environment production: %m (file: %f)' return SyntasticMake({ \ 'makeprg': makeprg,