From 3b65ae5748195e8025f21be80535b204a5720e0a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 27 Jul 2021 20:40:03 -0700 Subject: [PATCH] =?UTF-8?q?[oni-core]=20Enable=20=E2=80=98yas-global-mode?= =?UTF-8?q?=E2=80=99=20if=20=E2=80=98oni-yasnippet=E2=80=99=20is=20install?= =?UTF-8?q?ed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-core.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ;; 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