Only make company features conditional

This commit is contained in:
Patrick Elliott 2018-08-27 12:57:07 +02:00
parent 98b5c95ee5
commit d9f819dac4
No known key found for this signature in database
GPG key ID: 7CA109C3974AF5FA
3 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,4 @@
;;; lang/coq/autoload.el -*- lexical-binding: t; -*-
;;;###if (featurep! :completion company)
;;;###autoload
(add-hook 'coq-mode-hook #'company-coq-mode)

View file

@ -0,0 +1,5 @@
;;; lang/coq/config.el -*- lexical-binding: t; -*-
(after! company-coq
(when (not (featurep! :completion company))
(setq company-coq-disabled-features '(company company-defaults))))

View file

@ -3,5 +3,4 @@
(package! proof-general :recipe (:fetcher github :repo "ProofGeneral/PG" :files ("*")))
(when (featurep! :completion company)
(package! company-coq))
(package! company-coq)