Skip to content

Commit 1c9afc6

Browse files
I can't get nvim-java to work
1 parent 4374b04 commit 1c9afc6

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

init.lua

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ require('lazy').setup({
381381
{ 'williamboman/mason.nvim', config = true }, -- NOTE: Must be loaded before dependants
382382
'williamboman/mason-lspconfig.nvim',
383383
'WhoIsSethDaniel/mason-tool-installer.nvim',
384-
'nvim-java/nvim-java',
385384

386385
-- Useful status updates for LSP.
387386
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
@@ -581,14 +580,6 @@ require('lazy').setup({
581580
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
582581
require('lspconfig')[server_name].setup(server)
583582
end,
584-
-- For some reason jdtls has to be put here
585-
-- instead of being in the servers list above
586-
-- sample kickstart nvim config from the nvim-java developer
587-
-- https://github.com/nvim-java/starter-kickstart/blob/master/init.lua
588-
jdtls = function()
589-
require('java').setup {}
590-
require('lspconfig').jdtls.setup {}
591-
end,
592583
},
593584
}
594585
end,
@@ -870,7 +861,7 @@ require('lazy').setup({
870861
-- Here are some example plugins that I've included in the Kickstart repository.
871862
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
872863
--
873-
-- require 'kickstart.plugins.debug',
864+
require 'kickstart.plugins.debug',
874865
-- require 'kickstart.plugins.indent_line',
875866
-- require 'kickstart.plugins.lint',
876867
-- require 'kickstart.plugins.autopairs',

0 commit comments

Comments
 (0)