From 9cfa7e6d021142ad5c1ef64d203b528092565e3d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 10 May 2020 14:20:18 -0700 Subject: emacs: stuff for puppet --- emacs.d/custom/fcuny-puppet.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'emacs.d/custom') diff --git a/emacs.d/custom/fcuny-puppet.el b/emacs.d/custom/fcuny-puppet.el index 5d4a44e..a189bf8 100644 --- a/emacs.d/custom/fcuny-puppet.el +++ b/emacs.d/custom/fcuny-puppet.el @@ -1,6 +1,12 @@ (use-package puppet-mode :ensure t :bind (:map puppet-mode-map - ("C-c |" . puppet-align-block))) + ("C-c |" . puppet-align-block)) + :custom + (flycheck-puppet-lint-executable "~/workspace/rcs/scripts/puppet-lint.sh") + (flycheck-puppet-parser-executable "~/workspace/rcs/scripts/puppet-parser.sh") + + (puppet-lint-command (concat "~/workspace/rcs/scripts/puppet-lint.sh" + "--log-format \"%{path}:%{line}: %{kind}: %{message} (%{check})\""))) (provide 'fcuny-puppet) -- cgit 1.4.1