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 <brightone@protonmail.com>
This commit is contained in:
Cody Wilson 2019-08-13 13:52:53 -05:00 committed by GitHub
parent 3f98c8b1a6
commit b2a48d5365
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,8 @@
(unless (featurep! +lsp) (unless (featurep! +lsp)
(package! phpactor) (package! phpactor)
(package! company-phpactor)) (when (featurep! :completion company)
(package! company-phpactor)))
(when (featurep! :editor format) (when (featurep! :editor format)
(package! php-cs-fixer)) (package! php-cs-fixer))