mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(editor/all-the-icons): remove custom project-file category alias
It is now part of the MintSoup's fork of all-the-icons-completion.
This commit is contained in:
@@ -46,14 +46,10 @@
|
||||
(when (not (fboundp 'all-the-icons-completion-get-file-icon))
|
||||
(require 'cl-generic)
|
||||
|
||||
;; Add support for 'project-buffer category by treating it same as 'buffer.
|
||||
(cl-defmethod all-the-icons-completion-get-icon ((cand string) (cat (eql 'project-buffer)))
|
||||
"Display project-buffer icon for CAND all-the-icons-completion."
|
||||
(all-the-icons-completion-get-icon cand 'buffer))
|
||||
(all-the-icons-completion-get-icon cand 'buffer))))
|
||||
|
||||
;; Add support for 'project-file category by treating it same as 'file.
|
||||
(cl-defmethod all-the-icons-completion-get-icon ((cand string) (cat (eql 'project-file)))
|
||||
"Display project-file icon for CAND all-the-icons-completion."
|
||||
(all-the-icons-completion-get-icon cand 'file))))
|
||||
|
||||
(provide 'siren-all-the-icons)
|
||||
;;; siren-all-the-icons.el ends here
|
||||
|
||||
Reference in New Issue
Block a user