Reapply weird JDTLS hack
This commit is contained in:
parent
b7b3dd9610
commit
6a97e9497b
10
init.lua
10
init.lua
|
@ -151,7 +151,7 @@ vim.opt.rtp:prepend(lazypath)
|
||||||
-- :Lazy update
|
-- :Lazy update
|
||||||
--
|
--
|
||||||
-- See HACK below...
|
-- See HACK below...
|
||||||
-- jdtls_already_ran = false
|
jdtls_already_ran = false
|
||||||
-- NOTE: Here is where you install your plugins.
|
-- NOTE: Here is where you install your plugins.
|
||||||
require('lazy').setup({
|
require('lazy').setup({
|
||||||
|
|
||||||
|
@ -717,10 +717,10 @@ require('lazy').setup({
|
||||||
end,
|
end,
|
||||||
jdtls = function()
|
jdtls = function()
|
||||||
-- HACK: Don't know why this gets called more than once
|
-- HACK: Don't know why this gets called more than once
|
||||||
-- if jdtls_already_ran then
|
if jdtls_already_ran then
|
||||||
-- return
|
return
|
||||||
-- end
|
end
|
||||||
-- jdtls_already_ran = true
|
jdtls_already_ran = true
|
||||||
require('java').setup {
|
require('java').setup {
|
||||||
-- Your custom jdtls settings goes here
|
-- Your custom jdtls settings goes here
|
||||||
-- Do not automatically install JDK 17
|
-- Do not automatically install JDK 17
|
||||||
|
|
Loading…
Reference in New Issue