syntastic git · master
syntastic vim plugin (fork)
Vim Script 99%git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gzFix puppet 5 parser
The new (not so new now) version of pupper (5) change a little the parser output. Now it's something like Error: Could not parse for environment production: Syntax error at 'group' (file: /manifests/homedir.pp, line: 16, column: 5) this bad fix allow syntastic to still working with puppet 5.
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 dd8211b3..1d3f62a5 100644 --- a/syntax_checkers/puppet/puppet.vim +++ b/syntax_checkers/puppet/puppet.vim @@ -30,7 +30,8 @@ function! SyntaxCheckers_puppet_puppet_GetLocList() dict \ '%-Gerr: Try ''puppet help parser validate'' for usage,' . \ '%-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]: %m at %f:%l,'. + \ '%AError: Could not parse for environment production: %m (file: %f\, line: %l\, column: %c)' return SyntasticMake({ \ 'makeprg': makeprg,