Replace company-{quickhelp,posframe,lsp} by company-box

This commit is contained in:
Adam Goldsmith 2022-02-11 10:49:55 -05:00
parent 39652658de
commit d5a642072b

View File

@ -355,16 +355,9 @@
company-dabbrev-downcase nil company-dabbrev-downcase nil
company-dabbrev-ignore-case nil) company-dabbrev-ignore-case nil)
(use-package company-posframe :ensure :demand (use-package company-box :ensure
:delight :delight
:config :hook (company-mode . company-box-mode))
(company-posframe-mode 1))
(use-package company-quickhelp :ensure :demand
:disabled
:config
(company-quickhelp-mode 1)
(setq company-quickhelp-delay 0.5))
(use-package company-statistics (use-package company-statistics
:config :config
@ -601,12 +594,6 @@
(let ((default-directory (lsp-workspace-root))) (let ((default-directory (lsp-workspace-root)))
(call-interactively 'compile))) (call-interactively 'compile)))
(use-package company-lsp :ensure
:config
(setq company-lsp-enable-snippet t
company-lsp-async t
company-lsp-cache-candidates nil))
(use-package lsp-ui :ensure (use-package lsp-ui :ensure
:bind (:map lsp-ui-mode-map :bind (:map lsp-ui-mode-map
([remap xref-find-definitions] . lsp-ui-peek-find-definitions) ([remap xref-find-definitions] . lsp-ui-peek-find-definitions)