2022-11-12 17:39:10 +00:00
|
|
|
local status_ok, lsp_saga = pcall(require, "lspsaga")
|
|
|
|
if not status_ok then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2023-01-14 12:36:37 +00:00
|
|
|
lsp_saga.setup({
|
|
|
|
ui = {
|
|
|
|
border = "rounded",
|
|
|
|
code_action_icon = "",
|
|
|
|
},
|
2023-03-29 17:17:01 +00:00
|
|
|
finder = {
|
|
|
|
max_height = 0.5,
|
|
|
|
min_width = 30,
|
|
|
|
force_max_height = false,
|
|
|
|
keys = {
|
|
|
|
expand_or_jump = "<CR>",
|
|
|
|
},
|
|
|
|
},
|
2023-01-14 12:36:37 +00:00
|
|
|
preview = {
|
2023-03-14 17:42:09 +00:00
|
|
|
lines_above = 6,
|
2023-01-14 12:36:37 +00:00
|
|
|
},
|
|
|
|
outline = {
|
2023-03-14 17:42:09 +00:00
|
|
|
win_width = 55,
|
2022-11-12 17:39:10 +00:00
|
|
|
auto_preview = false,
|
|
|
|
},
|
2023-01-14 12:36:37 +00:00
|
|
|
symbol_in_winbar = {
|
|
|
|
enable = false,
|
|
|
|
},
|
2022-11-12 17:39:10 +00:00
|
|
|
})
|