1
0
Fork 0

[oni-core] Enable ‘yas-global-mode’ if ‘oni-yasnippet’ is installed

This commit is contained in:
Tom Willemse 2021-07-27 20:40:03 -07:00
parent 79a2ec9b8a
commit 3b65ae5748
Signed by: ryuslash
GPG key ID: 7D5C407B435025C1

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2021.0727.202557 ;; Version: 2021.0727.203934
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard) ;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -274,6 +274,8 @@ _s_: String list"
(ws-butler-global-mode) (ws-butler-global-mode)
(which-key-mode) (which-key-mode)
(auto-insert-mode) (auto-insert-mode)
(when (package-installed-p 'oni-yasnippet)
(yas-global-mode))
(provide 'oni-core) (provide 'oni-core)
;;; oni-core.el ends here ;;; oni-core.el ends here