diff options
Diffstat (limited to 'lua/nvim-lsp-installer/servers/phpactor/init.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/phpactor/init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/servers/phpactor/init.lua b/lua/nvim-lsp-installer/servers/phpactor/init.lua index d48f9a2b..42ef65f6 100644 --- a/lua/nvim-lsp-installer/servers/phpactor/init.lua +++ b/lua/nvim-lsp-installer/servers/phpactor/init.lua @@ -3,6 +3,7 @@ local path = require "nvim-lsp-installer.path" local server = require "nvim-lsp-installer.server" local composer = require "nvim-lsp-installer.installers.composer" local std = require "nvim-lsp-installer.installers.std" +local context = require "nvim-lsp-installer.installers.context" local process = require "nvim-lsp-installer.process" return function(name, root_dir) @@ -15,6 +16,11 @@ return function(name, root_dir) unix = { std.git_clone "https://github.com/phpactor/phpactor.git", composer.install(), + context.receipt(function(receipt, ctx) + receipt:with_primary_source( + receipt.git_remote("https://github.com/phpactor/phpactor.git", ctx.requested_server_version) + ) + end), }, }, default_options = { |
