When running all-the-icons-20220117.108 on emacs 27.1 from inside the Spacemacs develop tree, centaur-tabs (20220112.1239) will invoke all-the-icons functions that are not part of the autoload set, which means in Spacemacs' load package on demand environment, the tabs don't get icons until something else pulls all-the-icons in.
centaur-tabs does this in centaur-tabs-functions.el:
(declare-function all-the-icons-match? "ext:all-the-icons.el" t t)
(declare-function all-the-icons-auto-mode-match? "ext:all-the-icons.el" t t)
(declare-function all-the-icons-icon-for-file "ext:all-the-icons.el" t t)
(declare-function all-the-icons-icon-for-mode "ext:all-the-icons.el" t t)
But none of those functions are in the all-the-icons-autoloads.el file.
I can work around this issue by putting:
(all-the-icons-icon-for-mode major-mode)
...in my .spacemacs, but it is kind of janky. Better would be to either make auto loading just work, or propose a work around that triggers autoload in centaur-tabs.
When running all-the-icons-20220117.108 on emacs 27.1 from inside the Spacemacs develop tree, centaur-tabs (20220112.1239) will invoke all-the-icons functions that are not part of the autoload set, which means in Spacemacs' load package on demand environment, the tabs don't get icons until something else pulls all-the-icons in.
centaur-tabs does this in centaur-tabs-functions.el:
But none of those functions are in the all-the-icons-autoloads.el file.
I can work around this issue by putting:
...in my .spacemacs, but it is kind of janky. Better would be to either make auto loading just work, or propose a work around that triggers autoload in centaur-tabs.