elisp/ansible-init.el
author Luke Hoersten <luke@hoersten.org>
Thu, 02 Oct 2025 10:54:52 -0500
changeset 112 c4c346aa93ab
parent 77 c99c95938a05
permissions -rw-r--r--
Replaced flyspell mode with jinx. Changes: - Added jinx package - Replaced flyspell-mode with jinx-mode in text-mode and markdown-mode - Added enchant detection that shows a helpful warning in Warnings buffer if enchant is not installed, with OS-specific install instructions If enchant isn't installed when you start Emacs, you'll see a warning popup with instructions for your OS (brew for macOS, apt for Ubuntu).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
77
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     1
;; ~/.emacs.d/elisp/ansible-init.el
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     2
;; Luke Hoersten <[email protected]>
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     3
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     4
;; Require packages
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     5
(require 'package-require)
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     6
(package-require '(yaml-mode jinja2-mode company company-ansible ansible-doc))
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     7
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     8
(add-hook 'yaml-mode-hook #'ansible-doc-mode)
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     9
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
    10
(message "Loading ansible-init...done")
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
    11
(provide 'ansible-init)