fix: broken on windows but at least won't crash

This commit is contained in:
əlemi 2022-09-19 12:05:44 +02:00
parent 32ddb0a0ae
commit c7a982b08a
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -255,7 +255,7 @@ local init_fn = function(use)
lspconfig.marksman.setup({capabilities=capabilities, on_attach=set_lsp_binds})
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({
capabilities=capabilities,
on_attach=set_lsp_binds,