From 6a97e9497ba72bf41480bdecd9418c5d22ba89ec Mon Sep 17 00:00:00 2001 From: Zach Zolton Date: Wed, 9 Apr 2025 14:34:27 -0400 Subject: [PATCH] Reapply weird JDTLS hack --- init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index e1b18974..9051e120 100644 --- a/init.lua +++ b/init.lua @@ -151,7 +151,7 @@ vim.opt.rtp:prepend(lazypath) -- :Lazy update -- -- See HACK below... --- jdtls_already_ran = false +jdtls_already_ran = false -- NOTE: Here is where you install your plugins. require('lazy').setup({ @@ -717,10 +717,10 @@ require('lazy').setup({ end, jdtls = function() -- HACK: Don't know why this gets called more than once - -- if jdtls_already_ran then - -- return - -- end - -- jdtls_already_ran = true + if jdtls_already_ran then + return + end + jdtls_already_ran = true require('java').setup { -- Your custom jdtls settings goes here -- Do not automatically install JDK 17