me
/
guix
Archived
1
0
Fork 0

.dir-locals.el: Update yas snippets directory.

* .dir-locals.el (eval): Update yas snippets directory.
master
Andrew Tropin 2022-09-07 09:19:17 +03:00
parent b9fa04fb2c
commit 39b8f85a6e
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0
1 changed files with 2 additions and 1 deletions

View File

@ -16,12 +16,13 @@
(eval . (setq-local guix-directory
(locate-dominating-file default-directory
".dir-locals.el")))
;; YASnippet
(eval . (with-eval-after-load
'yasnippet
(let ((guix-yasnippets
(expand-file-name
"etc/snippets"
"etc/snippets/yas"
(locate-dominating-file default-directory
".dir-locals.el"))))
(unless (member guix-yasnippets yas-snippet-dirs)