fix: fix jdtls not spwaning in windows (#1864)

This commit is contained in:
金雄镕
2023-10-25 21:46:39 +08:00
committed by GitHub
parent 6dfeeb8322
commit 61fae7d23f

View File

@ -85,7 +85,7 @@ return {
-- How to run jdtls. This can be overridden to a full java command-line
-- if the Python wrapper script doesn't suffice.
cmd = { "jdtls" },
cmd = { vim.fn.exepath("jdtls") },
full_cmd = function(opts)
local fname = vim.api.nvim_buf_get_name(0)
local root_dir = opts.root_dir(fname)