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:
2022-10-24 09:50:53 +01:00
parent eea90adfa6
commit 5322ca88eb
3 changed files with 5 additions and 8 deletions

View File

@@ -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