emacs: ensure tempel and tempel-collection
This commit is contained in:
parent
b44cea8e19
commit
f581da480a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue