sebastiencs / company-box

A company front-end with icons
563 stars 64 forks source link

Unable to make it work with all-the-icons #178

Closed memeplex closed 2 years ago

memeplex commented 2 years ago

This is my related configuration:

(use-package all-the-icons)

(use-package company
  :config (global-company-mode 1))

(use-package company-box
  :init (setq company-box-icons-alist 'company-box-icons-all-the-icons)
  :hook (company-mode . company-box-mode))

Also all-the-icons-install-fonts successfully ran and the icons are there in ~/Library/Fonts as expected.

Still I only get this, no matter what:

image

I also tried replacing :init with :custom or :config, to no avail.

memeplex commented 2 years ago

I realized that it depends on the context of completion:

image

It seems as if at this point it's expecting a function, I don't know, maybe outside the parens is kind of a hippie thing.

If that's so by design please feel free to close (but a brief explanation will be appreciated).

If it's an upstream issue, please let me know and I will report to company.