mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
completion/ivy: add transformer for projectile-find-file
This commit is contained in:
@ -25,6 +25,14 @@
|
||||
;; Library
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +ivy-projectile-find-file-transformer (str)
|
||||
"Highlight entries that have been visited. This is the opposite of
|
||||
`counsel-projectile-find-file'."
|
||||
(cond ((get-file-buffer (projectile-expand-root str))
|
||||
(propertize str 'face '(:weight ultra-bold :slant italic)))
|
||||
(t str)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +ivy-recentf-transformer (str)
|
||||
"Dim recentf entries that are not in the current project of the buffer you
|
||||
|
Reference in New Issue
Block a user