fix(jdtls): allow config jdtls bundles from user's both opts.init_options.bundles and opts.jdtls.init_options.bundles

This commit is contained in:
Zapan 2025-09-23 20:58:53 +08:00
parent 2c68ad40ca
commit 524b895367

View file

@ -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