completion/company: add company-box config & +childframe flag

This commit is contained in:
Henrik Lissner 2018-04-22 23:41:53 -04:00
parent 6bdaf2afbb
commit 97812583f0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 18 additions and 25 deletions

View file

@ -7,21 +7,6 @@
(add-hook 'doom-escape-hook #'+posframe|delete-on-escape))
(def-package! company-box
:when EMACS26+
:hook (company-mode . company-box-mode)
:config
(setq company-frontends (delq 'company-pseudo-tooltip-frontend company-frontends)
company-box-icons-elisp
(list (concat (all-the-icons-material "functions") " ")
(concat (all-the-icons-material "check_circle") " ")
(concat (all-the-icons-material "stars") " ")
(concat (all-the-icons-material "format_paint") " "))
company-box-icons-unknown (concat (all-the-icons-material "find_in_page") " ")
company-box-backends-colors nil
company-box-icons-yasnippet (concat (all-the-icons-material "short_text") " ")))
(def-package! ivy-posframe
:when EMACS26+
:hook (ivy-mode . ivy-posframe-enable)