Update modules/applications/emacs/init.el
This commit is contained in:
parent
1e80588ae0
commit
9cc36b4b38
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user