Fix iedit-insert state face in vim-powerline

This commit is contained in:
syl20bnr 2015-05-03 00:04:33 -04:00
parent 642cfbd6d9
commit 8df9108138

View file

@ -275,9 +275,7 @@
"Find whether or not FACE is a valid face,
and if not, try to get the corresponding
'-normal' face "
(message "%s" face)
(let* ((face (if (eq 'powerline-state_indicator-iedit-insert face)
'powerline-state_indicator-iedit face))
(let* ((face (replace-regexp-in-string "iedit-insert" "iedit" face))
(split-face-name nil) (concat-face-name nil) ; some variables we'll use later on
(report-wrong-prefix ; Our error reporter. Because we don't want to return nil.
(lambda () (let ((prefix (subseq (or split-face-name (split-string face "-")) 0 2)))