Only make company features conditional
This commit is contained in:
parent
98b5c95ee5
commit
d9f819dac4
3 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
;;; lang/coq/autoload.el -*- lexical-binding: t; -*-
|
;;; lang/coq/autoload.el -*- lexical-binding: t; -*-
|
||||||
;;;###if (featurep! :completion company)
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(add-hook 'coq-mode-hook #'company-coq-mode)
|
(add-hook 'coq-mode-hook #'company-coq-mode)
|
||||||
|
|
5
modules/lang/coq/config.el
Normal file
5
modules/lang/coq/config.el
Normal 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))))
|
|
@ -3,5 +3,4 @@
|
||||||
|
|
||||||
(package! proof-general :recipe (:fetcher github :repo "ProofGeneral/PG" :files ("*")))
|
(package! proof-general :recipe (:fetcher github :repo "ProofGeneral/PG" :files ("*")))
|
||||||
|
|
||||||
(when (featurep! :completion company)
|
(package! company-coq)
|
||||||
(package! company-coq))
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue