From b2a48d5365d874766ccd399b36ac25c6c2b41470 Mon Sep 17 00:00:00 2001 From: Cody Wilson Date: Tue, 13 Aug 2019 13:52:53 -0500 Subject: [PATCH] Add feature detection for company-phpactor `company-phpactor` separation gives us the ability to only install it if `company` is enabled. Co-Authored-By: Oleksii Filonenko --- modules/lang/php/packages.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lang/php/packages.el b/modules/lang/php/packages.el index 1b1099536..f2fa57243 100644 --- a/modules/lang/php/packages.el +++ b/modules/lang/php/packages.el @@ -12,7 +12,8 @@ (unless (featurep! +lsp) (package! phpactor) - (package! company-phpactor)) + (when (featurep! :completion company) + (package! company-phpactor))) (when (featurep! :editor format) (package! php-cs-fixer))