add java support

will switch to intellij prob when i really need it
This commit is contained in:
Lucas Barbieri 2024-02-19 09:10:32 -03:00
parent ab1b0a3ae6
commit 0c34bb7f6f
2 changed files with 23 additions and 0 deletions

View File

@ -352,6 +352,8 @@ local servers = {
tsserver = {},
pyright = {},
jdtls = {},
lua_ls = {
Lua = {

View File

@ -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',
},
},
}
},
}