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

* .dir-locals.el (eval): Update yas snippets directory.
This commit is contained in:
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

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)