mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
.dir-locals.el: Add tempel snippets.
Change-Id: Ic16f571f26fffee12e478e00c54be55e6eb90831 Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
parent
730b1f0768
commit
e602b799fb
3 changed files with 15 additions and 4 deletions
|
@ -19,6 +19,21 @@
|
||||||
(locate-dominating-file default-directory
|
(locate-dominating-file default-directory
|
||||||
".dir-locals.el")))
|
".dir-locals.el")))
|
||||||
|
|
||||||
|
;; TempEl
|
||||||
|
(eval . (with-eval-after-load
|
||||||
|
'tempel
|
||||||
|
(if (stringp tempel-path)
|
||||||
|
(setq tempel-path (list tempel-path)))
|
||||||
|
(let ((guix-tempel-snippets
|
||||||
|
(concat
|
||||||
|
(expand-file-name
|
||||||
|
"etc/snippets/tempel"
|
||||||
|
(locate-dominating-file default-directory
|
||||||
|
".dir-locals.el"))
|
||||||
|
"/*.eld")))
|
||||||
|
(unless (member guix-tempel-snippets tempel-path)
|
||||||
|
(add-to-list 'tempel-path guix-tempel-snippets)))))
|
||||||
|
|
||||||
;; YASnippet
|
;; YASnippet
|
||||||
(eval . (with-eval-after-load
|
(eval . (with-eval-after-load
|
||||||
'yasnippet
|
'yasnippet
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
-*- mode: lisp-data -*-
|
|
||||||
|
|
||||||
scheme-mode
|
scheme-mode
|
||||||
|
|
||||||
(package...
|
(package...
|
|
@ -1,5 +1,3 @@
|
||||||
-*- mode: lisp-data -*-
|
|
||||||
|
|
||||||
text-mode :when (bound-and-true-p git-commit-mode)
|
text-mode :when (bound-and-true-p git-commit-mode)
|
||||||
|
|
||||||
(add\ "gnu: Add "
|
(add\ "gnu: Add "
|
Loading…
Reference in a new issue