diff options
Diffstat (limited to 'lua/nvim-lsp-installer/servers/phpactor/init.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/phpactor/init.lua | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lua/nvim-lsp-installer/servers/phpactor/init.lua b/lua/nvim-lsp-installer/servers/phpactor/init.lua deleted file mode 100644 index 6c151353..00000000 --- a/lua/nvim-lsp-installer/servers/phpactor/init.lua +++ /dev/null @@ -1,25 +0,0 @@ -local path = require "nvim-lsp-installer.core.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 process = require "nvim-lsp-installer.core.process" -local platform = require "nvim-lsp-installer.core.platform" - -return function(name, root_dir) - return server.Server:new { - name = name, - root_dir = root_dir, - homepage = "https://phpactor.readthedocs.io/en/master/", - languages = { "php" }, - 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" } }, - }, - }, - } -end |
