From 5e096c879254793074aa8067e24ca4652fbbbfbd Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Thu, 27 Feb 2020 12:45:30 +0300 Subject: [PATCH] Update modules/applications/emacs/default.nix modules/applications/emacs/init.el --- modules/applications/emacs/default.nix | 1 + modules/applications/emacs/init.el | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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)