From 1be325c17d4904f01472cd1b4242f87f2c696b3d Mon Sep 17 00:00:00 2001 From: Jay Patel <36803168+jay-babu@users.noreply.github.com> Date: Sat, 5 Aug 2023 12:10:02 -0400 Subject: [PATCH] feat(pack): enable hot reloading in java and show java lsp progress (#504) --- lua/astrocommunity/pack/java/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/astrocommunity/pack/java/init.lua b/lua/astrocommunity/pack/java/init.lua index 270db1e55..1907d5ec0 100644 --- a/lua/astrocommunity/pack/java/init.lua +++ b/lua/astrocommunity/pack/java/init.lua @@ -103,8 +103,8 @@ return { }, filetypes = { "java" }, on_attach = function(client, bufnr) - require("jdtls").setup_dap() - require("astrolsp").on_attach(client, bufnr) + require("jdtls").setup_dap { hotcodereplace = "auto" } + require("astronvim.utils.lsp").on_attach(client, bufnr) end, }