completion/ivy: use font-lock-doc-face instead of ivy-remote

This commit is contained in:
Henrik Lissner 2018-01-08 15:02:54 -05:00
parent 7777f9940e
commit 3beb1f098a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -29,7 +29,7 @@
(setq buf-name (propertize buf-name 'face 'font-lock-comment-face))) (setq buf-name (propertize buf-name 'face 'font-lock-comment-face)))
((and buffer-file-name ((and buffer-file-name
(not (file-in-directory-p (buffer-file-name buf) project-root))) (not (file-in-directory-p (buffer-file-name buf) project-root)))
(setq buf-name (propertize buf-name 'face 'ivy-remote)))) (setq buf-name (propertize buf-name 'face 'font-lock-doc-face))))
(ivy-rich-switch-buffer-format (list buf-name size indicator mode project path))))) (ivy-rich-switch-buffer-format (list buf-name size indicator mode project path)))))
((and (eq ivy-virtual-abbreviate 'full) ((and (eq ivy-virtual-abbreviate 'full)
ivy-rich-switch-buffer-align-virtual-buffer) ivy-rich-switch-buffer-align-virtual-buffer)