From cb2cb918df87be770f17eca4b2b9e6109762827b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 3 Dec 2021 17:21:19 -0500 Subject: Autocomplete: fix company --- modules/init-company.el | 11 ++++++----- 1 file 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 "") 'company-indent-or-complete-common) ;; Activating globally (global-company-mode t)) -- cgit v1.2.3