We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all-the-icons-icon-for-mode and all-the-icons-family-for-mode do not use the same logic.
I found this on helpful-mode (via issues with spaceline-all-the-icons)
(all-the-icons-icon-family-for-mode 'helpful-mode) ; returns nil (all-the-icons-icon-for-mode 'helpful-mode) ; Gives an icon
The for mode code deals with the not found icon by looking in the parent mode ie
(icon (cdr (or (assoc mode all-the-icons-mode-icon-alist) (assoc (get mode 'derived-mode-parent) all-the-icons-mode-icon-alist))))
whilst all-the-icons-icon-family-for-mode just does the first assoc
The text was updated successfully, but these errors were encountered:
Feel free to send over a PR
Sorry, something went wrong.
Deal with missing font amily
428fd9a
cover for bug domtronn/all-the-icons.el#275
No branches or pull requests
all-the-icons-icon-for-mode and all-the-icons-family-for-mode do not use the same logic.
I found this on helpful-mode (via issues with spaceline-all-the-icons)
The for mode code deals with the not found icon by looking in the parent mode
ie
whilst all-the-icons-icon-family-for-mode just does the first assoc
The text was updated successfully, but these errors were encountered: