mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 09:18:51 +02:00
fix: fix jdtls not spwaning in windows (#1864)
This commit is contained in:
parent
6dfeeb8322
commit
61fae7d23f
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ return {
|
||||||
|
|
||||||
-- How to run jdtls. This can be overridden to a full java command-line
|
-- How to run jdtls. This can be overridden to a full java command-line
|
||||||
-- if the Python wrapper script doesn't suffice.
|
-- if the Python wrapper script doesn't suffice.
|
||||||
cmd = { "jdtls" },
|
cmd = { vim.fn.exepath("jdtls") },
|
||||||
full_cmd = function(opts)
|
full_cmd = function(opts)
|
||||||
local fname = vim.api.nvim_buf_get_name(0)
|
local fname = vim.api.nvim_buf_get_name(0)
|
||||||
local root_dir = opts.root_dir(fname)
|
local root_dir = opts.root_dir(fname)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue