Skip to content

Commit 2c82759

Browse files
authored
fix: jdk auto_install should be true by default (nvim-java#59)
1 parent 18bb0ab commit 2c82759

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

lua/java/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ local config = {
2424
enable = true,
2525
},
2626
jdk = {
27-
auto_install = false,
27+
auto_install = true,
2828
},
2929
}
3030

lua/java/ui/lazy.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ function M.close_lazy_if_opened()
77
return
88
end
99

10+
if not view.view or not view.view.hide then
11+
return
12+
end
13+
1014
view.view:hide()
1115
end
1216

0 commit comments

Comments
 (0)