Update modules/applications/emacs/init.el

This commit is contained in:
Alexander Bantyev 2020-02-27 13:02:12 +03:00
parent 5e096c8792
commit e933637f45
1 changed files with 4 additions and 2 deletions

View File

@ -286,7 +286,9 @@ If point was already at that position, move point to beginning of line."
((nix-mode . (lambda () (local-set-key (kbd "<f7>") 'nix-format-buffer))))
((nix-mode . (lambda () (setq indent-line-function 'nix-indent-line)))))
(use-package company-box
:hook (company-mode . company-box-mode))
:hook (company-mode . company-box-mode)
:config
(setq company-box-enable-icon nil))
;; -------------------
;; expand-region
@ -304,7 +306,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-pseudo-tooltip-frontend
'(company-tng-frontend
company-echo-metadata-frontend))
(require 'color)