aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/groovyls/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/groovyls/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/groovyls/init.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/lua/nvim-lsp-installer/servers/groovyls/init.lua b/lua/nvim-lsp-installer/servers/groovyls/init.lua
index a40dc32e..8f7b4617 100644
--- a/lua/nvim-lsp-installer/servers/groovyls/init.lua
+++ b/lua/nvim-lsp-installer/servers/groovyls/init.lua
@@ -2,7 +2,6 @@ local server = require "nvim-lsp-installer.server"
local path = require "nvim-lsp-installer.path"
local std = require "nvim-lsp-installer.core.managers.std"
local git = require "nvim-lsp-installer.core.managers.git"
-local process = require "nvim-lsp-installer.process"
return function(name, root_dir)
return server.Server:new {
@@ -18,9 +17,7 @@ return function(name, root_dir)
ctx:promote_cwd()
ctx.spawn.gradlew {
"build",
- env = process.graft_env {
- PATH = process.extend_path { ctx.cwd:get() },
- },
+ with_paths = { ctx.cwd:get() },
}
end,
default_options = {