Skip to content

Commit

Permalink
ivy.el : Add ivy-separator face
Browse files Browse the repository at this point in the history
Fixes #1815
  • Loading branch information
tttuuu888 authored and abo-abo committed Nov 24, 2018
1 parent 8da6e51 commit 9f52838
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion counsel.el
Expand Up @@ -3483,7 +3483,7 @@ Additional actions:\\<ivy-minibuffer-map>
(lambda (str)
(counsel--yank-pop-truncate str))
cand-pairs
counsel-yank-pop-separator))
(propertize counsel-yank-pop-separator 'face 'ivy-separator)))

(defun counsel--yank-pop-position (s)
"Return position of S in `kill-ring' relative to last yank."
Expand Down
4 changes: 4 additions & 0 deletions ivy.el
Expand Up @@ -135,6 +135,10 @@
'((t :inherit ivy-current-match))
"Face used by Ivy for highlighting the selected prompt line.")

(defface ivy-separator
'((t :inherit font-lock-doc-face))
"Face for multiline source separator.")

;; Set default customization `:group' to `ivy' for the rest of the file.
(setcdr (assoc load-file-name custom-current-group-alist) 'ivy)

Expand Down

0 comments on commit 9f52838

Please sign in to comment.