Guix: Fix yasnippet activation
parent
7f8e301547
commit
db68560071
|
@ -2,8 +2,10 @@
|
|||
|
||||
(with-eval-after-load 'geiser-guile
|
||||
(when (require 'yasnippet nil t)
|
||||
;; (yas-global-mode 1)
|
||||
(add-hook 'scheme-mode-hook 'yas-minor-mode)
|
||||
(yas-global-mode 1)
|
||||
;; This is not enough since COMMIT_MSG is not in scheme-mode.
|
||||
;; TODO: Add to find-file-hook instead and check if parent folder is ~/projects/guix.
|
||||
;; (add-hook 'scheme-mode-hook 'yas-minor-mode)
|
||||
(with-eval-after-load 'yasnippet
|
||||
(add-to-list 'yas-snippet-dirs
|
||||
(expand-file-name "etc/snippets"
|
||||
|
|
Loading…
Reference in New Issue