aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2022-09-07 09:19:17 +0300
committerAndrew Tropin <andrew@trop.in>2022-09-07 09:20:12 +0300
commit39b8f85a6efc9b2b60d23e01fd53df8f9ff09dc4 (patch)
treee6f0e425833d670f6825d0e7bdd449c5a5edbbca /.dir-locals.el
parentb9fa04fb2cb32a0b08720bfab37a870fb7426eb7 (diff)
downloadguix-39b8f85a6efc9b2b60d23e01fd53df8f9ff09dc4.tar
guix-39b8f85a6efc9b2b60d23e01fd53df8f9ff09dc4.tar.gz
.dir-locals.el: Update yas snippets directory.
* .dir-locals.el (eval): Update yas snippets directory.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el3
1 files changed, 2 insertions, 1 deletions
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)