company: prevent breaks ivy's completion in minibuffer

This commit is contained in:
Jesús 2021-12-05 16:41:35 -05:00
parent 32ca324900
commit f53864a714
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -6,7 +6,10 @@
(use-package company
:defer 5
:diminish
:commands (company-mode company-indent-or-complete-common)
:bind
(:map company-mode-map
("<tab>" . company-complete)
("<backtab>" . company-select-previous))
:config
;; Global
(setq company-idle-delay 1
@ -23,8 +26,6 @@
(set-face-attribute 'company-scrollbar-bg nil :inherit 'company-tooltip :background "gray20")
(set-face-attribute 'company-scrollbar-fg nil :background "gray40"))
(global-set-key (kbd "M-TAB") 'company-indent-or-complete-common)
;; Activating globally
(global-company-mode t))