refactor!: replace all-the-icons with nerd-icons
BREAKING CHANGE: This commit replaces all-the-icons with nerd-fonts. Any all-the-icons-* function calls or variable references in your private config will break and should be replaced with their nerd-icons-* equivalent. That said, Doom will continue to install all-the-icons for a while, so feel free to load it if you don't want to fully commit to the change yet. This change is happening because nerd-icon has wider support for GUI and TUI Emacs; has a larger, more consistent selection of symbols; plus unicode coverage. Fix: #7368 Close: #6675 Close: #7364
This commit is contained in:
parent
7bdf7cf7c0
commit
9787022b83
40 changed files with 293 additions and 407 deletions
|
@ -25,11 +25,11 @@
|
|||
;; Display buffer icons on GUI
|
||||
(define-ibuffer-column icon (:name " ")
|
||||
(let ((icon (if (and (buffer-file-name)
|
||||
(all-the-icons-auto-mode-match?))
|
||||
(all-the-icons-icon-for-file (file-name-nondirectory (buffer-file-name)) :v-adjust -0.05)
|
||||
(all-the-icons-icon-for-mode major-mode :v-adjust -0.05))))
|
||||
(nerd-icons-auto-mode-match?))
|
||||
(nerd-icons-icon-for-file (file-name-nondirectory (buffer-file-name)) :v-adjust -0.05)
|
||||
(nerd-icons-icon-for-mode major-mode :v-adjust -0.05))))
|
||||
(if (symbolp icon)
|
||||
(setq icon (all-the-icons-faicon "file-o" :face 'all-the-icons-dsilver :height 0.8 :v-adjust 0.0))
|
||||
(setq icon (nerd-icons-faicon "nf-fa-file_o" :face 'nerd-icons-dsilver :height 0.8 :v-adjust 0.0))
|
||||
icon)))
|
||||
|
||||
;; Redefine size column to display human readable size
|
||||
|
@ -72,8 +72,8 @@
|
|||
:config
|
||||
(setq ibuffer-projectile-prefix
|
||||
(if (modulep! +icons)
|
||||
(concat (all-the-icons-octicon
|
||||
"file-directory"
|
||||
(concat (nerd-icons-octicon
|
||||
"nf-oct-file_directory"
|
||||
:face ibuffer-filter-group-name-face
|
||||
:v-adjust -0.05)
|
||||
" ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue