Update modules/applications/emacs/init.el

This commit is contained in:
Alexander Bantyev 2020-02-27 13:09:31 +03:00
parent 1e80588ae0
commit 9cc36b4b38
1 changed files with 4 additions and 4 deletions

View File

@ -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 "<f7>") '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)