mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -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
|
(eval . (setq-local guix-directory
|
||||||
(locate-dominating-file default-directory
|
(locate-dominating-file default-directory
|
||||||
".dir-locals.el")))
|
".dir-locals.el")))
|
||||||
|
|
||||||
;; YASnippet
|
;; YASnippet
|
||||||
(eval . (with-eval-after-load
|
(eval . (with-eval-after-load
|
||||||
'yasnippet
|
'yasnippet
|
||||||
(let ((guix-yasnippets
|
(let ((guix-yasnippets
|
||||||
(expand-file-name
|
(expand-file-name
|
||||||
"etc/snippets"
|
"etc/snippets/yas"
|
||||||
(locate-dominating-file default-directory
|
(locate-dominating-file default-directory
|
||||||
".dir-locals.el"))))
|
".dir-locals.el"))))
|
||||||
(unless (member guix-yasnippets yas-snippet-dirs)
|
(unless (member guix-yasnippets yas-snippet-dirs)
|
||||||
|
|
Loading…
Reference in a new issue