From 0c34bb7f6f6427a5ce5484a510ce6aa0931afada Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Mon, 19 Feb 2024 09:10:32 -0300 Subject: [PATCH] add java support will switch to intellij prob when i really need it --- init.lua | 2 ++ lua/custom/plugins/java.lua | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 lua/custom/plugins/java.lua 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', + }, + }, + } + }, +}