completion/company: refactor icons & add colors

This commit is contained in:
Henrik Lissner 2018-04-23 04:24:42 -04:00
parent 779184a9ee
commit 2b0c681d7a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -70,12 +70,12 @@ when company-box is active, which are incompatible and cause duplicate popups."
:config :config
(setq company-box-backends-colors nil (setq company-box-backends-colors nil
company-box-icons-elisp company-box-icons-elisp
(list (concat (all-the-icons-material "functions") " ") (list (all-the-icons-material "functions" :face 'all-the-icons-red)
(concat (all-the-icons-material "check_circle") " ") (all-the-icons-material "check_circle" :face 'all-the-icons-blue)
(concat (all-the-icons-material "stars") " ") (all-the-icons-material "stars" :face 'all-the-icons-orange)
(concat (all-the-icons-material "format_paint") " ")) (all-the-icons-material "format_paint" :face 'all-the-icons-pink))
company-box-icons-unknown (concat (all-the-icons-material "find_in_page") " ") company-box-icons-unknown (all-the-icons-material "find_in_page" :face 'all-the-icons-purple)
company-box-icons-yasnippet (concat (all-the-icons-material "short_text") " "))) company-box-icons-yasnippet (all-the-icons-material "short_text" :face 'all-the-icons-green)))
(def-package! company-dict (def-package! company-dict