I am trying to get
magit-repolist-column-flag-alist to use icons from
all-the-icons.el but with no success. This is the code I tried.
(setq magit-repolist-column-flag-alist '((magit-untracked-files . (all-the-icons-octicon "alert" :face 'all-the-icons-orange)) (magit-unstaged-files . (all-the-icons-octicon "diff-modified" :face 'all-the-icons-red)) (magit-staged-files . (all-the-icons-octicon "diff-added" :face 'all-the-icons-green))))
but when I run
SPC g l r I get this error:
wrong argument: stringp all-the-icons which I can see it's saying that the argument should be a string and it's not, but I have no idea how to return the icons as strings.