fix: broken on windows but at least won't crash
This commit is contained in:
parent
32ddb0a0ae
commit
c7a982b08a
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ local init_fn = function(use)
|
||||||
lspconfig.marksman.setup({capabilities=capabilities, on_attach=set_lsp_binds})
|
lspconfig.marksman.setup({capabilities=capabilities, on_attach=set_lsp_binds})
|
||||||
|
|
||||||
local jdtls_bin_path = os.getenv("JDTLS_BIN_PATH") or "jdtls"
|
local jdtls_bin_path = os.getenv("JDTLS_BIN_PATH") or "jdtls"
|
||||||
local home_path = os.getenv("HOME") -- TODO this is not windows friendly
|
local home_path = os.getenv("HOME") or "~" -- TODO this is not windows friendly
|
||||||
lspconfig.jdtls.setup({
|
lspconfig.jdtls.setup({
|
||||||
capabilities=capabilities,
|
capabilities=capabilities,
|
||||||
on_attach=set_lsp_binds,
|
on_attach=set_lsp_binds,
|
||||||
|
|
Loading…
Reference in a new issue