aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/phpactor/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/phpactor/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/phpactor/init.lua13
1 files changed, 5 insertions, 8 deletions
diff --git a/lua/nvim-lsp-installer/servers/phpactor/init.lua b/lua/nvim-lsp-installer/servers/phpactor/init.lua
index af5d863c..1425ae2e 100644
--- a/lua/nvim-lsp-installer/servers/phpactor/init.lua
+++ b/lua/nvim-lsp-installer/servers/phpactor/init.lua
@@ -2,7 +2,6 @@ local path = require "nvim-lsp-installer.path"
local server = require "nvim-lsp-installer.server"
local composer = require "nvim-lsp-installer.core.managers.composer"
local git = require "nvim-lsp-installer.core.managers.git"
-local installer = require "nvim-lsp-installer.core.installer"
local process = require "nvim-lsp-installer.process"
local platform = require "nvim-lsp-installer.platform"
@@ -13,13 +12,11 @@ return function(name, root_dir)
homepage = "https://phpactor.readthedocs.io/en/master/",
languages = { "php" },
async = true,
- installer = installer.serial {
- function()
- assert(platform.is_unix, "Phpactor only supports UNIX environments.")
- end,
- git.clone { "https://github.com/phpactor/phpactor.git" },
- composer.install(),
- },
+ installer = function()
+ assert(platform.is_unix, "Phpactor only supports UNIX environments.")
+ git.clone({ "https://github.com/phpactor/phpactor.git" }).with_receipt()
+ composer.install()
+ end,
default_options = {
cmd_env = {
PATH = process.extend_path { path.concat { root_dir, "bin" } },