From 524b89536787f1fe1e15ed975d30df340ac5c332 Mon Sep 17 00:00:00 2001 From: Zapan Date: Tue, 23 Sep 2025 20:58:53 +0800 Subject: [PATCH] fix(jdtls): allow config jdtls bundles from user's both opts.init_options.bundles and opts.jdtls.init_options.bundles --- lua/lazyvim/plugins/extras/lang/java.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/lang/java.lua b/lua/lazyvim/plugins/extras/lang/java.lua index f05df20b..1c866682 100644 --- a/lua/lazyvim/plugins/extras/lang/java.lua +++ b/lua/lazyvim/plugins/extras/lang/java.lua @@ -158,7 +158,7 @@ return { end end - -- Allow users to add custom bundles through opts.init_options.bundles and opts.jdtls.bundles + -- Allow users to add custom bundles through opts.init_options.bundles and opts.jdtls.init_options.bundles if opts.init_options and opts.init_options.bundles then vim.list_extend(bundles, opts.init_options.bundles) end