Add cursor color changing hook to the proper place

This commit is contained in:
Gergely Polonkai 2018-06-10 08:21:50 +02:00
parent 4803515967
commit 21189806fa
1 changed files with 2 additions and 3 deletions

View File

@ -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)