From 39b8f85a6efc9b2b60d23e01fd53df8f9ff09dc4 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Wed, 7 Sep 2022 09:19:17 +0300 Subject: .dir-locals.el: Update yas snippets directory. * .dir-locals.el (eval): Update yas snippets directory. --- .dir-locals.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index a49350854c..47a4ccd2bb 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -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) -- cgit 1.4.1