ui/posframe: replace company-childframe with company-box

This commit is contained in:
Henrik Lissner 2018-04-18 18:21:43 -04:00
parent e54c938023
commit 604bbcd1d5
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 12 additions and 8 deletions

View file

@ -7,15 +7,19 @@
(add-hook 'doom-escape-hook #'+posframe|delete-on-escape)) (add-hook 'doom-escape-hook #'+posframe|delete-on-escape))
(def-package! company-childframe (def-package! company-box
:when (featurep! :completion company)
:when EMACS26+ :when EMACS26+
:after company :hook (company-mode . company-box-mode)
:config :config
(setq company-childframe-notification nil) (setq company-frontends (delq 'company-pseudo-tooltip-frontend company-frontends)
(company-childframe-mode 1) company-box-icons-elisp
(after! desktop (list (concat (all-the-icons-material "functions") " ")
(push '(company-childframe-mode . nil) desktop-minor-mode-table))) (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 (def-package! ivy-posframe

View file

@ -3,6 +3,6 @@
(when EMACS26+ (when EMACS26+
(when (featurep! :completion company) (when (featurep! :completion company)
(package! company-childframe)) (package! company-box))
(when (featurep! :completion ivy) (when (featurep! :completion ivy)
(package! ivy-posframe))) (package! ivy-posframe)))