Merge pull request #439 from peterkh/master
Fixing puppet-lint syntax check when using syntastic_puppet_lint_arguments variable
This commit is contained in:
commit
857758b5e8
@ -57,7 +57,7 @@ function! s:getPuppetLintErrors()
|
|||||||
let g:syntastic_puppet_lint_arguments = ''
|
let g:syntastic_puppet_lint_arguments = ''
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let makeprg = 'puppet-lint --log-format "\%{KIND} [\%{check}] \%{message} at \%{fullpath}:\%{linenumber}" '.g:syntastic_puppet_lint_arguments.shellescape(expand('%'))
|
let makeprg = 'puppet-lint --log-format "\%{KIND} [\%{check}] \%{message} at \%{fullpath}:\%{linenumber}" '.g:syntastic_puppet_lint_arguments.' '.shellescape(expand('%'))
|
||||||
let errorformat = '%t%*[a-zA-Z] %m at %f:%l'
|
let errorformat = '%t%*[a-zA-Z] %m at %f:%l'
|
||||||
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'subtype': 'Style' })
|
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'subtype': 'Style' })
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user