mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
.dir-locals.el: Update yas snippets directory.
* .dir-locals.el (eval): Update yas snippets directory.
This commit is contained in:
parent
b9fa04fb2c
commit
39b8f85a6e
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue