diff --git a/init.el b/init.el index a056cfa..ce042c5 100644 --- a/init.el +++ b/init.el @@ -679,7 +679,8 @@ (use-package yasnippet :demand :config - (yas-global-mode 1)) + (yas-global-mode 1) + (add-hook 'post-command-hook 'sachachua/change-cursor-color-when-can-expand)) (use-package vala-snippets :after @@ -1309,8 +1310,6 @@ TODO: What is FIELD for?" "Return true if right after an expandable thing." (or (abbrev--before-point) (yasnippet-can-fire-p))) -(add-hook 'post-command-hook 'sachachua/change-cursor-color-when-can-expand) - ;; SysAdmin Day to the calendar (add-to-list 'holiday-other-holidays '(holiday-float 7 5 -1 "SysAdmin Day") t) (add-to-list 'holiday-other-holidays '(holiday-fixed 10 21 "Reptile Awareness Day") t)