From 9cc36b4b38fa53f208689d2575c464bad21d42f3 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Thu, 27 Feb 2020 13:09:31 +0300 Subject: [PATCH] Update modules/applications/emacs/init.el --- modules/applications/emacs/init.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/applications/emacs/init.el b/modules/applications/emacs/init.el index 1912dd1..6bfafd3 100755 --- a/modules/applications/emacs/init.el +++ b/modules/applications/emacs/init.el @@ -285,10 +285,6 @@ 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) - :config - (setq company-box-enable-icon nil)) ;; ------------------- ;; expand-region @@ -304,6 +300,10 @@ If point was already at that position, move point to beginning of line." ;; Use the tab-and-go frontend. ;; Allows TAB to select and complete at the same time. + (company-tng-configure-default) + (setq company-frontends + '(company-tng-frontend + company-echo-metadata-frontend)) (require 'color)