aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/init-company.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/init-company.el b/modules/init-company.el
index 8434b80..ab0721d 100644
--- a/modules/init-company.el
+++ b/modules/init-company.el
@@ -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))