diff --git a/init.lua b/init.lua index d028935..939d2d8 100644 --- a/init.lua +++ b/init.lua @@ -352,6 +352,8 @@ local servers = { tsserver = {}, pyright = {}, + jdtls = {}, + lua_ls = { Lua = { diff --git a/lua/custom/plugins/java.lua b/lua/custom/plugins/java.lua new file mode 100644 index 0000000..da12a9d --- /dev/null +++ b/lua/custom/plugins/java.lua @@ -0,0 +1,21 @@ +return { + 'nvim-java/nvim-java', + dependencies = { + 'nvim-java/lua-async-await', + 'nvim-java/nvim-java-core', + 'nvim-java/nvim-java-test', + 'nvim-java/nvim-java-dap', + 'MunifTanjim/nui.nvim', + 'neovim/nvim-lspconfig', + 'mfussenegger/nvim-dap', + { + 'williamboman/mason.nvim', + opts = { + registries = { + 'github:nvim-java/mason-registry', + 'github:mason-org/mason-registry', + }, + }, + } + }, +}