From ca46ba6cfae07149f38496c2c41f0f6911daee14 Mon Sep 17 00:00:00 2001 From: Olli Date: Sat, 29 Aug 2026 12:19:33 +0200 Subject: [PATCH] nvim: Fix some Java LSP settings --- nvim/lua/user/lsp.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nvim/lua/user/lsp.lua b/nvim/lua/user/lsp.lua index 4a21c45..5f182e2 100644 --- a/nvim/lua/user/lsp.lua +++ b/nvim/lua/user/lsp.lua @@ -87,9 +87,7 @@ jdtlsCapabilities.workspace.didChangeWatchedFiles = { } vim.lsp.config("jdtls", { init_options = { - bundles = { - vim.fn.glob("/usr/share/java-debug/*.jar", 1), - } + bundles = vim.fn.glob("/usr/share/java-debug/*.jar", 1, 1), }, capabilities = jdtlsCapabilities, settings = { @@ -110,6 +108,8 @@ vim.lsp.config("jdtls", { enable = true, settings = { url = "/home/oliver/Dokumente/Gallery Systems/Products/GS Eclipse Formatter Java.xml", + tabSize = 4, + indentSize = 4, }, }, codeGeneration = {