diff options
Diffstat (limited to 'lua/nvim-lsp-installer/servers/phpactor/init.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/phpactor/init.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/servers/phpactor/init.lua b/lua/nvim-lsp-installer/servers/phpactor/init.lua index 5a58bce7..d48f9a2b 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 process = require "nvim-lsp-installer.process" return function(name, root_dir) return server.Server:new { @@ -17,7 +18,9 @@ return function(name, root_dir) }, }, default_options = { - cmd = { path.concat { root_dir, "bin", "phpactor" }, "language-server" }, + cmd_env = { + PATH = process.extend_path { path.concat { root_dir, "bin" } }, + }, }, } end |
