Skip to content

Commit

Permalink
feat(pack): enable hot reloading in java and show java lsp progress (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-babu authored Aug 5, 2023
1 parent c59b7a7 commit fbf40f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions lua/astrocommunity/pack/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ This plugin pack does the following:
- Adds `jdtls` language server
- Adds `lemminx` language server (XML)
- Adds [nvim-jdtls](https://github.com/mfussenegger/nvim-jdtls) for language specific tooling
- Enables [hot reloading](https://github.com/mfussenegger/nvim-jdtls/issues/80)
- Adds `clang_format` through null-ls
- Adds `javadbg` and `javatest` debug adapters for nvim-dap
5 changes: 1 addition & 4 deletions lua/astrocommunity/pack/java/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,13 @@ return {
},
},
handlers = {
["language/status"] = function()
-- print(result)
end,
["$/progress"] = function()
-- disable progress updates.
end,
},
filetypes = { "java" },
on_attach = function(client, bufnr)
require("jdtls").setup_dap()
require("jdtls").setup_dap { hotcodereplace = "auto" }
require("astronvim.utils.lsp").on_attach(client, bufnr)
end,
}
Expand Down

0 comments on commit fbf40f4

Please sign in to comment.