Co-authored-by: Andreas Gerlach <andreas.gerlach@xarvio.com>
This commit is contained in:
Andreas Gerlach
2023-07-25 15:25:24 +02:00
committed by GitHub
parent 9a0543531d
commit 2e09051472

View File

@ -83,7 +83,7 @@ return {
local project_name = root_dir and vim.fs.basename(root_dir)
local cmd = { "jdtls" }
if project_name then
local jdtls_cache_dir = vim.fs.joinpath(vim.fn.stdpath("cache"), "jdtls", project_name)
local jdtls_cache_dir = vim.fn.stdpath("cache") .. "/jdtls/" .. project_name
vim.list_extend(cmd, {
"-configuration",
vim.fs.joinpath(jdtls_cache_dir, "config"),