diff --git a/modules/applications/emacs/default.nix b/modules/applications/emacs/default.nix index 4dce700..cb24aa4 100644 --- a/modules/applications/emacs/default.nix +++ b/modules/applications/emacs/default.nix @@ -38,6 +38,7 @@ xah-fly-keys arduino-mode elixir-mode + company-box ]; }; diff --git a/modules/applications/emacs/init.el b/modules/applications/emacs/init.el index 1b8e5d4..474afc7 100755 --- a/modules/applications/emacs/init.el +++ b/modules/applications/emacs/init.el @@ -285,6 +285,8 @@ If point was already at that position, move point to beginning of line." :hook ((nix-mode . (lambda () (local-set-key (kbd "") 'nix-format-buffer)))) ((nix-mode . (lambda () (setq indent-line-function 'nix-indent-line))))) +(use-package company-box + :hook (company-mode . company-box-mode)) ;; ------------------- ;; expand-region @@ -302,8 +304,7 @@ If point was already at that position, move point to beginning of line." ;; Allows TAB to select and complete at the same time. (company-tng-configure-default) (setq company-frontends - '(company-tng-frontend - company-pseudo-tooltip-frontend + '(company-pseudo-tooltip-frontend company-echo-metadata-frontend)) (require 'color)