Autocomplete: fix company
This commit is contained in:
parent
94d28d7a2d
commit
cb2cb918df
@ -2,14 +2,16 @@
|
||||
;;; Commentary:
|
||||
;; Company es un famework de Emacs para el completado de texto.
|
||||
|
||||
;;; CODE:
|
||||
;;; code:
|
||||
(use-package company
|
||||
:ensure t
|
||||
:defer 5
|
||||
:diminish
|
||||
:commands (company-mode company-indent-or-complete-common)
|
||||
:config
|
||||
;; Global
|
||||
(setq company-idle-delay 1
|
||||
company-minimum-prefix-length 1
|
||||
company-show-numbers t
|
||||
company-show-numbers nil
|
||||
company-tooltip-limit 20)
|
||||
|
||||
;; Facing
|
||||
@ -21,8 +23,7 @@
|
||||
(set-face-attribute 'company-scrollbar-bg nil :inherit 'company-tooltip :background "gray20")
|
||||
(set-face-attribute 'company-scrollbar-fg nil :background "gray40"))
|
||||
|
||||
;; Default backends
|
||||
(setq company-backends '((company-files)))
|
||||
(global-set-key (kbd "<tab>") 'company-indent-or-complete-common)
|
||||
|
||||
;; Activating globally
|
||||
(global-company-mode t))
|
||||
|
Loading…
x
Reference in New Issue
Block a user