Company: Remove obsolete code
This commit is contained in:
parent
0c0dcd7390
commit
2cce30225b
|
@ -30,9 +30,6 @@
|
|||
(require 'company nil t)
|
||||
(require 'evil-collection)
|
||||
|
||||
;; TODO: `company-tng-configure-default' will be replaced by `company-tng-mode' in 0.9.14.
|
||||
;; See https://github.com/company-mode/company-mode/blob/master/NEWS.md
|
||||
(declare-function company-tng-configure-default "company-tng")
|
||||
(declare-function company-tng-mode "company-tng")
|
||||
|
||||
(defgroup evil-collection-company nil
|
||||
|
@ -96,9 +93,7 @@ be set through custom or before evil-collection loads."
|
|||
;; Sets up YCMD like behavior.
|
||||
(when evil-collection-company-use-tng
|
||||
(require 'company-tng)
|
||||
(if (fboundp 'company-tng-mode)
|
||||
(company-tng-mode +1)
|
||||
(company-tng-configure-default)))
|
||||
(company-tng-mode +1))
|
||||
|
||||
;; Make `company-mode' not show popup when not in supported state
|
||||
(advice-add 'company-call-backend
|
||||
|
|
Loading…
Reference in New Issue