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 96d4989

Browse files
JAS01JAS01
authored andcommitted
Fix 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.
1 parent 15f5db0 commit 96d4989

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

syntax_checkers/puppet/puppet.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ function! SyntaxCheckers_puppet_puppet_GetLocList() dict
3030
\ '%-Gerr: Try ''puppet help parser validate'' for usage,' .
3131
\ '%-GError: Try ''puppet help parser validate'' for usage,' .
3232
\ '%A%t%*[a-zA-Z]: %m at %f:%l:%c,' .
33-
\ '%A%t%*[a-zA-Z]: %m at %f:%l'
33+
\ '%A%t%*[a-zA-Z]: %m at %f:%l,'.
34+
\ '%AError: Could not parse for environment production: %m (file: %f\, line: %l\, column: %c)'
3435

3536
return SyntasticMake({
3637
\ 'makeprg': makeprg,

0 commit comments

Comments
 (0)