From f4a2433c162aa9d4be8f4903fa03c3d18349b1d2 Mon Sep 17 00:00:00 2001 From: Mikael Fridh Date: Tue, 14 Feb 2012 10:15:17 +0100 Subject: [PATCH] puppet: enable --storeconfigs on 2.7 without --storeconfigs it's going to complain alot if you have any imported resources in your manifests. --- syntax_checkers/puppet.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'