diff --git a/lua/plugins/java-plugin.lua b/lua/plugins/java-plugin.lua index b26cf42..7cc9160 100644 --- a/lua/plugins/java-plugin.lua +++ b/lua/plugins/java-plugin.lua @@ -38,7 +38,27 @@ return { java_debug_adapter = { enable = true, }, + spring_boot_tools = { + enable = true, + }, + notifications = { + dap = true, + }, + }) + require("lspconfig").jdtls.setup({ + settings = { + java = { + configuration = { + runtimes = { + { + name = "jdk17", + path = "home/data/opt/bisheng-jdk-17.0.3", + default = true, + }, + }, + }, + }, + }, }) - require("lspconfig").jdtls.setup({}) end, } diff --git a/lua/plugins/search-plugin.lua b/lua/plugins/search-plugin.lua index 7d8f040..2c96690 100644 --- a/lua/plugins/search-plugin.lua +++ b/lua/plugins/search-plugin.lua @@ -24,8 +24,8 @@ return { local telescope = require("telescope") telescope.setup({ defaults = { - -- layout_strategy = "bottom_pane", - layout_strategy = "vertical", + layout_strategy = "bottom_pane", + -- layout_strategy = "vertical", layout_config = { vertical = { width = 0.85 }, bottom_pane = { width = 0.85 },