From 18c336235886a2d35d795d21666a3393ea23fc66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20W=C3=B3jcik?= Date: Mon, 25 May 2020 23:11:05 +0200 Subject: [PATCH] company-box-icons-all-the-icons: replace and fill all icons --- company-box-icons.el | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/company-box-icons.el b/company-box-icons.el index 815ad3b..5660ad9 100644 --- a/company-box-icons.el +++ b/company-box-icons.el @@ -206,34 +206,33 @@ (fboundp 'all-the-icons-octicon)) ;; TODO: fix the rest (defvar company-box-icons-all-the-icons - `((Unknown . ,(all-the-icons-faicon "cog")) - (Text . ,(all-the-icons-octicon "file-text")) + `((Unknown . ,(all-the-icons-faicon "code")) + (Text . ,(all-the-icons-material "text_format")) (Method . ,(all-the-icons-faicon "cube")) (Function . ,(all-the-icons-faicon "cube")) (Constructor . ,(all-the-icons-faicon "cube")) - (Field . ,(all-the-icons-faicon "cog")) - (Variable . ,(all-the-icons-faicon "cog")) + (Field . ,(all-the-icons-faicon "tag")) + (Variable . ,(all-the-icons-faicon "tag")) (Class . ,(all-the-icons-faicon "cogs")) - ;; (Interface . ,(company-box-icons-image "Interface.png")) - (Module . ,(all-the-icons-alltheicon "less")) + (Interface . ,(all-the-icons-faicon "italic")) + (Module . ,(all-the-icons-faicon "code")) (Property . ,(all-the-icons-faicon "wrench")) - ;; (Unit . ,(company-box-icons-image "Misc.png")) - ;; (Value . ,(company-box-icons-image "EnumItem.png")) - (Enum . ,(all-the-icons-material "content_copy")) - ;; (Keyword . ,(company-box-icons-image "Keyword.png")) - (Snippet . ,(all-the-icons-material "content_paste")) + (Unit . ,(all-the-icons-material "streetview")) + (Value . ,(all-the-icons-faicon "tag")) + (Enum . ,(all-the-icons-material "library_books")) + (Keyword . ,(all-the-icons-material "vpn_key")) + (Snippet . ,(all-the-icons-faicon "expand")) (Color . ,(all-the-icons-material "palette")) (File . ,(all-the-icons-faicon "file")) - ;; (Reference . ,(company-box-icons-image "Misc.png")) - (Folder . ,(all-the-icons-faicon "folder")) - ;; (EnumMember . ,(company-box-icons-image "EnumItem.png")) - ;; (Constant . ,(company-box-icons-image "Constant.png")) + (Reference . ,(all-the-icons-material "streetview")) + (Folder . ,(all-the-icons-faicon "folder-open")) + (EnumMember . ,(all-the-icons-faicon "book")) + (Constant . ,(all-the-icons-faicon "bars")) (Struct . ,(all-the-icons-faicon "cogs")) (Event . ,(all-the-icons-faicon "bolt")) - ;; (Operator . ,(company-box-icons-image "Misc.png")) + (Operator . ,(all-the-icons-material "streetview")) (TypeParameter . ,(all-the-icons-faicon "cogs")) - ;; (Template . ,(company-box-icons-image "Template.png")) - ))) + (Template . ,(all-the-icons-material "settings_ethernet"))))) (defcustom company-box-icons-alist 'company-box-icons-images "Rendering method for icons. @@ -362,7 +361,8 @@ Check out `cider-completion-annotations-alist'.") (cond ((fboundp sym) 'Function) ((featurep sym) 'Module) ((facep sym) 'Color) - ((boundp sym) 'Variable))))) + ((boundp sym) 'Variable) + (t 'Unknown))))) (defun company-box-icons--yasnippet (candidate) (when (get-text-property 0 'yas-annotation candidate)