diff --git a/syntax_checkers/puppet.vim b/syntax_checkers/puppet.vim index c3f8ae5f..51c898e4 100644 --- a/syntax_checkers/puppet.vim +++ b/syntax_checkers/puppet.vim @@ -32,7 +32,8 @@ function! SyntaxCheckers_puppet_GetLocList() if s:puppetVersion[0] >= '2' && s:puppetVersion[1] >= '7' let makeprg = 'puppet parser validate ' . \ shellescape(expand('%')) . - \ ' --color=false' + \ ' --color=false' . + \ ' --storeconfigs' "add --ignoreimport for versions < 2.7.10 if s:puppetVersion[2] < '10'