[oni-core] Enable ‘yas-global-mode’ if ‘oni-yasnippet’ is installed
This commit is contained in:
parent
79a2ec9b8a
commit
3b65ae5748
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue