From d88085068d4354bed5ec5244d35096d3c17328d5 Mon Sep 17 00:00:00 2001 From: Sean Farley Date: Tue, 16 Jul 2019 17:28:25 -0700 Subject: [PATCH] ansible: fix upstream changing coding conventions Pull request here: https://github.com/k1LoW/emacs-ansible/pull/31 --- modules/tools/ansible/config.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/tools/ansible/config.el b/modules/tools/ansible/config.el index cb75a6dda..97ab196c7 100644 --- a/modules/tools/ansible/config.el +++ b/modules/tools/ansible/config.el @@ -1,16 +1,16 @@ ;;; tools/ansible/config.el -*- lexical-binding: t; -*- (def-package! ansible - :commands ansible::auto-decrypt-encrypt + :commands ansible-auto-decrypt-encrypt :init - (put 'ansible::vault-password-file 'safe-local-variable #'stringp) + (put 'ansible-vault-password-file 'safe-local-variable #'stringp) :config - (setq ansible::section-face 'font-lock-variable-name-face - ansible::task-label-face 'font-lock-doc-face) - (map! :map ansible::key-map + (setq ansible-section-face 'font-lock-variable-name-face + ansible-task-label-face 'font-lock-doc-face) + (map! :map ansible-key-map :localleader - :desc "Decrypt buffer" "d" #'ansible::decrypt-buffer - :desc "Encrypt buffer" "e" #'ansible::encrypt-buffer + :desc "Decrypt buffer" "d" #'ansible-decrypt-buffer + :desc "Encrypt buffer" "e" #'ansible-encrypt-buffer :desc "Look up in Ansible docs" "h" #'ansible-doc)) (after! ansible-doc @@ -21,5 +21,5 @@ (def-project-mode! +ansible-yaml-mode :modes (yaml-mode) - :add-hooks (ansible ansible::auto-decrypt-encrypt ansible-doc-mode) + :add-hooks (ansible ansible-auto-decrypt-encrypt ansible-doc-mode) :files ("roles/"))