Enable company-ansible upfront

This commit is contained in:
Ralf Beckmann 2021-01-04 18:33:45 +01:00
parent a567834ff8
commit 5b8d8aed51

View file

@ -7,6 +7,8 @@
: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)
(when (featurep! :completion company)
(set-company-backend! 'ansible 'company-ansible))
(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