emacs: ensure tempel and tempel-collection

This commit is contained in:
Evie Litherland-Smith 2023-12-07 09:46:54 +00:00
parent b44cea8e19
commit f581da480a
2 changed files with 8 additions and 8 deletions

View file

@ -622,6 +622,7 @@
;; Configure Tempel
(use-package tempel
:ensure t
;; Require trigger prefix before template name when completing.
:custom
(tempel-trigger-prefix "<")
@ -650,13 +651,12 @@
;; Optionally make the Tempel templates available to Abbrev,
;; either locally or globally. `expand-abbrev' is bound to C-x '.
(add-hook 'prog-mode-hook #'tempel-abbrev-mode)
(global-tempel-abbrev-mode)
)
(add-hook 'prog-mode-hook #'tempel-abbrev-mode))
;; Optional: Add tempel-collection.
;; The package is young and doesn't have comprehensive coverage.
(use-package tempel-collection)
(use-package tempel-collection
:ensure t)
(use-package aggressive-indent
:ensure t

View file

@ -747,6 +747,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
#+begin_src emacs-lisp
;; Configure Tempel
(use-package tempel
:ensure t
;; Require trigger prefix before template name when completing.
:custom
(tempel-trigger-prefix "<")
@ -775,13 +776,12 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
;; Optionally make the Tempel templates available to Abbrev,
;; either locally or globally. `expand-abbrev' is bound to C-x '.
(add-hook 'prog-mode-hook #'tempel-abbrev-mode)
(global-tempel-abbrev-mode)
)
(add-hook 'prog-mode-hook #'tempel-abbrev-mode))
;; Optional: Add tempel-collection.
;; The package is young and doesn't have comprehensive coverage.
(use-package tempel-collection)
(use-package tempel-collection
:ensure t)
#+end_src
** Aggressive Indent
#+begin_src emacs-lisp