diff options
author | Franck Cuny <franck@fcuny.net> | 2021-10-26 18:43:16 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-10-26 18:43:16 -0700 |
commit | 0c819c14940d9321c994925d90512421a7662ae1 (patch) | |
tree | 261d1b9eaea431da50e3deeffd71aba015d55c17 /emacs | |
parent | emacs: disable mouse-overs for the modeline (diff) | |
download | emacs.d-0c819c14940d9321c994925d90512421a7662ae1.tar.gz |
emacs: enable a couple of hooks for systemd-mode
Enable `flyspell-prog-mode` in order to get suggestions for spelling errors. Enable `company-mode` to get completion at point for unit and network directives.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/custom/fcuny-conf.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/custom/fcuny-conf.el b/emacs/custom/fcuny-conf.el index 2909510..a2642cd 100644 --- a/emacs/custom/fcuny-conf.el +++ b/emacs/custom/fcuny-conf.el @@ -29,6 +29,8 @@ (protobuf-mode . flycheck-mode))) (use-package systemd - :ensure t) + :ensure t + :hook ((systemd-mode . flyspell-prog-mode) + (systemd-mode . company-mode))) (provide 'fcuny-conf) |