优化java插件和搜索插件

This commit is contained in:
LingZhaoHui 2024-09-16 22:24:03 +08:00
parent 90191c918a
commit b8d971ec1c
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC
2 changed files with 23 additions and 3 deletions

View File

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

View File

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