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

View File

@ -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))