summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2020-05-10 14:20:18 -0700
committerFranck Cuny <franck.cuny@gmail.com>2020-05-10 14:20:18 -0700
commit9cfa7e6d021142ad5c1ef64d203b528092565e3d (patch)
tree900a266a031a4fdff0d4ce299c9687bfd7d7b84b /emacs.d/custom
parentemacs: stuff for go (diff)
downloademacs.d-9cfa7e6d021142ad5c1ef64d203b528092565e3d.tar.gz
emacs: stuff for puppet
Diffstat (limited to 'emacs.d/custom')
-rw-r--r--emacs.d/custom/fcuny-puppet.el8
1 files changed, 7 insertions, 1 deletions
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)