From 4f8fcb607aed98f1e0a720e848c5151a21a3ac1c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 20 May 2016 16:45:37 -0400 Subject: [PATCH] evil: acertain cursor colors dynamically from face attributes --- core/core-evil.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-evil.el b/core/core-evil.el index 1b4475c0a..d58087f60 100644 --- a/core/core-evil.el +++ b/core/core-evil.el @@ -33,9 +33,9 @@ evil-replace-state-tag "R" ;; Color-coded state cursors - evil-default-cursor "orange" + evil-default-cursor (face-attribute 'minibuffer-prompt :foreground nil t) evil-normal-state-cursor 'box - evil-emacs-state-cursor '("cyan" box) + evil-emacs-state-cursor `(,(face-attribute 'highlight :foreground nil t) box) evil-insert-state-cursor 'bar evil-visual-state-cursor 'hollow