Skip to content

Commit

Permalink
tweak(nerd-icons): auto-install fonts when they aren't installed
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 26, 2023
1 parent 0200750 commit 6615a59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/me-core-ui.el
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ Useful for keeping track of the enabled theme."
:config
;; Show .m files as matlab/octave files (integral icon)
(setcdr (assoc "m" nerd-icons-extension-icon-alist)
'(nerd-icons-mdicon "nf-md-math_integral_box" :face nerd-icons-orange)))
'(nerd-icons-mdicon "nf-md-math_integral_box" :face nerd-icons-orange))
(when (and (display-graphic-p) (not (+font-installed-p nerd-icons-font-family)))
(nerd-icons-install-fonts 'dont-ask)))

(use-package doom-themes
:straight t
Expand Down

0 comments on commit 6615a59

Please sign in to comment.