completion/company: fix lsp icons
Fixes a wrong-type-argument error from company-box-frontend. Also reformats elisp company-box-icons-elisp icon list.
This commit is contained in:
parent
1b7ae37447
commit
daccdc3e53
1 changed files with 29 additions and 29 deletions
|
@ -59,36 +59,36 @@
|
|||
company-box-icons-yasnippet (all-the-icons-material "short_text" :height 0.8 :face 'all-the-icons-green)
|
||||
company-box-icons-unknown (all-the-icons-material "find_in_page" :height 0.8 :face 'all-the-icons-purple)
|
||||
company-box-icons-elisp
|
||||
(list (all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)
|
||||
(all-the-icons-material "check_circle" :height 0.8 :face 'all-the-icons-blue)
|
||||
(all-the-icons-material "stars" :height 0.8 :face 'all-the-icons-orange)
|
||||
(all-the-icons-material "format_paint" :height 0.8 :face 'all-the-icons-pink))
|
||||
(list (all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)
|
||||
(all-the-icons-material "check_circle" :height 0.8 :face 'all-the-icons-blue)
|
||||
(all-the-icons-material "stars" :height 0.8 :face 'all-the-icons-orange)
|
||||
(all-the-icons-material "format_paint" :height 0.8 :face 'all-the-icons-pink))
|
||||
company-box-icons-lsp
|
||||
'((1 . (all-the-icons-material "text_fields" :height 0.8 :face 'all-the-icons-green)) ; text
|
||||
(2 . (all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)) ; method
|
||||
(3 . (all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)) ; function
|
||||
(4 . (all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)) ; constructor
|
||||
(5 . (all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)) ; field
|
||||
(6 . (all-the-icons-material "adjust" :height 0.8 :face 'all-the-icons-blue)) ; variable
|
||||
(7 . (all-the-icons-material "class" :height 0.8 :face 'all-the-icons-red)) ; class
|
||||
(8 . (all-the-icons-material "settings_input_component" :height 0.8 :face 'all-the-icons-red)) ; interface
|
||||
(9 . (all-the-icons-material "view_module" :height 0.8 :face 'all-the-icons-red)) ; module
|
||||
(10 . (all-the-icons-material "settings" :height 0.8 :face 'all-the-icons-red)) ; property
|
||||
(11 . (all-the-icons-material "straighten" :height 0.8 :face 'all-the-icons-red)) ; unit
|
||||
(12 . (all-the-icons-material "filter_1" :height 0.8 :face 'all-the-icons-red)) ; value
|
||||
(13 . (all-the-icons-material "plus_one" :height 0.8 :face 'all-the-icons-red)) ; enum
|
||||
(14 . (all-the-icons-material "filter_center_focus" :height 0.8 :face 'all-the-icons-red)) ; keyword
|
||||
(15 . (all-the-icons-material "short_text" :height 0.8 :face 'all-the-icons-red)) ; snippet
|
||||
(16 . (all-the-icons-material "color_lens" :height 0.8 :face 'all-the-icons-red)) ; color
|
||||
(17 . (all-the-icons-material "insert_drive_file" :height 0.8 :face 'all-the-icons-red)) ; file
|
||||
(18 . (all-the-icons-material "collections_bookmark" :height 0.8 :face 'all-the-icons-red)) ; reference
|
||||
(19 . (all-the-icons-material "folder" :height 0.8 :face 'all-the-icons-red)) ; folder
|
||||
(20 . (all-the-icons-material "people" :height 0.8 :face 'all-the-icons-red)) ; enumMember
|
||||
(21 . (all-the-icons-material "pause_circle_filled" :height 0.8 :face 'all-the-icons-red)) ; constant
|
||||
(22 . (all-the-icons-material "streetview" :height 0.8 :face 'all-the-icons-red)) ; struct
|
||||
(23 . (all-the-icons-material "event" :height 0.8 :face 'all-the-icons-red)) ; event
|
||||
(24 . (all-the-icons-material "control_point" :height 0.8 :face 'all-the-icons-red)) ; operator
|
||||
(25 . (all-the-icons-material "class" :height 0.8 :face 'all-the-icons-red))))
|
||||
`((1 . ,(all-the-icons-material "text_fields" :height 0.8 :face 'all-the-icons-green)) ; text
|
||||
(2 . ,(all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)) ; method
|
||||
(3 . ,(all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)) ; function
|
||||
(4 . ,(all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)) ; constructor
|
||||
(5 . ,(all-the-icons-material "functions" :height 0.8 :face 'all-the-icons-red)) ; field
|
||||
(6 . ,(all-the-icons-material "adjust" :height 0.8 :face 'all-the-icons-blue)) ; variable
|
||||
(7 . ,(all-the-icons-material "class" :height 0.8 :face 'all-the-icons-red)) ; class
|
||||
(8 . ,(all-the-icons-material "settings_input_component" :height 0.8 :face 'all-the-icons-red)) ; interface
|
||||
(9 . ,(all-the-icons-material "view_module" :height 0.8 :face 'all-the-icons-red)) ; module
|
||||
(10 . ,(all-the-icons-material "settings" :height 0.8 :face 'all-the-icons-red)) ; property
|
||||
(11 . ,(all-the-icons-material "straighten" :height 0.8 :face 'all-the-icons-red)) ; unit
|
||||
(12 . ,(all-the-icons-material "filter_1" :height 0.8 :face 'all-the-icons-red)) ; value
|
||||
(13 . ,(all-the-icons-material "plus_one" :height 0.8 :face 'all-the-icons-red)) ; enum
|
||||
(14 . ,(all-the-icons-material "filter_center_focus" :height 0.8 :face 'all-the-icons-red)) ; keyword
|
||||
(15 . ,(all-the-icons-material "short_text" :height 0.8 :face 'all-the-icons-red)) ; snippet
|
||||
(16 . ,(all-the-icons-material "color_lens" :height 0.8 :face 'all-the-icons-red)) ; color
|
||||
(17 . ,(all-the-icons-material "insert_drive_file" :height 0.8 :face 'all-the-icons-red)) ; file
|
||||
(18 . ,(all-the-icons-material "collections_bookmark" :height 0.8 :face 'all-the-icons-red)) ; reference
|
||||
(19 . ,(all-the-icons-material "folder" :height 0.8 :face 'all-the-icons-red)) ; folder
|
||||
(20 . ,(all-the-icons-material "people" :height 0.8 :face 'all-the-icons-red)) ; enumMember
|
||||
(21 . ,(all-the-icons-material "pause_circle_filled" :height 0.8 :face 'all-the-icons-red)) ; constant
|
||||
(22 . ,(all-the-icons-material "streetview" :height 0.8 :face 'all-the-icons-red)) ; struct
|
||||
(23 . ,(all-the-icons-material "event" :height 0.8 :face 'all-the-icons-red)) ; event
|
||||
(24 . ,(all-the-icons-material "control_point" :height 0.8 :face 'all-the-icons-red)) ; operator
|
||||
(25 . ,(all-the-icons-material "class" :height 0.8 :face 'all-the-icons-red))))
|
||||
|
||||
;; Until sebastiencs/company-box#40 is merged
|
||||
(defun +company*box-frontend-even-if-single (command)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue