diff options
author | 2021-07-27 20:40:03 -0700 | |
---|---|---|
committer | 2021-07-27 20:40:03 -0700 | |
commit | 3b65ae5748195e8025f21be80535b204a5720e0a (patch) | |
tree | 0ea70e84cb0a3d13e5b85ec2133c92ac18275206 /oni-core.el | |
parent | 79a2ec9b8abdf0e263d3e6088ac3d8a115f2664c (diff) | |
download | emacs-config-3b65ae5748195e8025f21be80535b204a5720e0a.tar.gz emacs-config-3b65ae5748195e8025f21be80535b204a5720e0a.zip |
[oni-core] Enable ‘yas-global-mode’ if ‘oni-yasnippet’ is installed
Diffstat (limited to 'oni-core.el')
-rw-r--r-- | oni-core.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oni-core.el b/oni-core.el index 1f668ad..9159822 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; 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) ;; This program is free software; you can redistribute it and/or modify @@ -274,6 +274,8 @@ _s_: String list" (ws-butler-global-mode) (which-key-mode) (auto-insert-mode) +(when (package-installed-p 'oni-yasnippet) + (yas-global-mode)) (provide 'oni-core) ;;; oni-core.el ends here |