add: ddynamic path jdtls

This commit is contained in:
asep.komarudin 2024-06-29 08:28:20 +07:00
parent 9b41753fd4
commit 2e64635d7e

View file

@ -2,9 +2,9 @@ return {
cmd = { cmd = {
"jdtls", "jdtls",
"-configuration", "-configuration",
vim.fn.expand("$HOME") .. "/.cache/jdtls/config", vim.fn.stdpath("cache") .. "/jdtls/config",
"-data", "-data",
vim.fn.expand("$HOME") .. "/.cache/jdtls/workspace", vim.fn.stdpath("cache") .. "/jdtls/workspace",
}, },
filetypes = { "java" }, filetypes = { "java" },
root_dir = require("lspconfig.util").root_pattern( root_dir = require("lspconfig.util").root_pattern(