.dir-locals.el: Update yas snippets directory.
* .dir-locals.el (eval): Update yas snippets directory.master
parent
b9fa04fb2c
commit
39b8f85a6e
|
@ -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)
|
||||||
|
|
Reference in New Issue