completion/company: add company-box config & +childframe flag
This commit is contained in:
parent
6bdaf2afbb
commit
97812583f0
3 changed files with 18 additions and 25 deletions
|
@ -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)
|
||||
|
|
|
@ -2,7 +2,5 @@
|
|||
;;; ui/posframe/packages.el
|
||||
|
||||
(when EMACS26+
|
||||
(when (featurep! :completion company)
|
||||
(package! company-box))
|
||||
(when (featurep! :completion ivy)
|
||||
(package! ivy-posframe)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue