ansible: fix upstream changing coding conventions
Pull request here: https://github.com/k1LoW/emacs-ansible/pull/31
This commit is contained in:
parent
84d43643c9
commit
d88085068d
|
@ -1,16 +1,16 @@
|
||||||
;;; tools/ansible/config.el -*- lexical-binding: t; -*-
|
;;; tools/ansible/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(def-package! ansible
|
(def-package! ansible
|
||||||
:commands ansible::auto-decrypt-encrypt
|
:commands ansible-auto-decrypt-encrypt
|
||||||
:init
|
:init
|
||||||
(put 'ansible::vault-password-file 'safe-local-variable #'stringp)
|
(put 'ansible-vault-password-file 'safe-local-variable #'stringp)
|
||||||
:config
|
:config
|
||||||
(setq ansible::section-face 'font-lock-variable-name-face
|
(setq ansible-section-face 'font-lock-variable-name-face
|
||||||
ansible::task-label-face 'font-lock-doc-face)
|
ansible-task-label-face 'font-lock-doc-face)
|
||||||
(map! :map ansible::key-map
|
(map! :map ansible-key-map
|
||||||
:localleader
|
:localleader
|
||||||
:desc "Decrypt buffer" "d" #'ansible::decrypt-buffer
|
:desc "Decrypt buffer" "d" #'ansible-decrypt-buffer
|
||||||
:desc "Encrypt buffer" "e" #'ansible::encrypt-buffer
|
:desc "Encrypt buffer" "e" #'ansible-encrypt-buffer
|
||||||
:desc "Look up in Ansible docs" "h" #'ansible-doc))
|
:desc "Look up in Ansible docs" "h" #'ansible-doc))
|
||||||
|
|
||||||
(after! ansible-doc
|
(after! ansible-doc
|
||||||
|
@ -21,5 +21,5 @@
|
||||||
|
|
||||||
(def-project-mode! +ansible-yaml-mode
|
(def-project-mode! +ansible-yaml-mode
|
||||||
:modes (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/"))
|
:files ("roles/"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user