82 lines
2.2 KiB
Lua
82 lines
2.2 KiB
Lua
-- Message, prompt and window-layout UI. Full profile only.
|
|
local full = vim.g.profile == "full"
|
|
|
|
return {
|
|
{
|
|
"folke/noice.nvim",
|
|
cond = full,
|
|
event = "VeryLazy",
|
|
dependencies = { "MunifTanjim/nui.nvim" },
|
|
keys = {
|
|
{ "<leader>un", function() require("noice").cmd("dismiss") end, desc = "Dismiss notifications" },
|
|
{ "<leader>uN", function() require("noice").cmd("all") end, desc = "Show all messages" },
|
|
},
|
|
opts = {
|
|
lsp = {
|
|
override = {
|
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
|
["vim.lsp.util.stylize_markdown"] = true,
|
|
},
|
|
},
|
|
presets = {
|
|
bottom_search = true,
|
|
command_palette = true,
|
|
long_message_to_split = true,
|
|
inc_rename = false,
|
|
lsp_doc_border = true,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"stevearc/dressing.nvim",
|
|
cond = full,
|
|
event = "VeryLazy",
|
|
opts = { input = { default_prompt = ">" } },
|
|
},
|
|
{
|
|
"folke/edgy.nvim",
|
|
cond = full,
|
|
event = "VeryLazy",
|
|
init = function()
|
|
vim.opt.splitkeep = "screen"
|
|
end,
|
|
opts = {
|
|
bottom = {
|
|
{ ft = "qf", title = "QuickFix" },
|
|
{
|
|
ft = "help",
|
|
size = { height = 20 },
|
|
filter = function(buf)
|
|
return vim.bo[buf].buftype == "help"
|
|
end,
|
|
},
|
|
{ ft = "neotest-output-panel", size = { height = 15 } },
|
|
{ ft = "trouble", title = "Trouble", size = { height = 15 } },
|
|
{ ft = "dap-repl", title = "REPL", size = { height = 12 } },
|
|
},
|
|
right = {
|
|
{ ft = "sidekick_terminal", title = "Agent", size = { width = 80 } },
|
|
},
|
|
left = {
|
|
{
|
|
ft = "snacks_picker",
|
|
title = "Symbols",
|
|
filter = function(buf)
|
|
return vim.b[buf].snacks_picker_id == "lsp_symbols"
|
|
end,
|
|
size = { width = 0.2 },
|
|
},
|
|
{ ft = "neotest-summary", title = "Neotest Summary", size = { width = 0.2 } },
|
|
},
|
|
options = { left = { size = 30 }, bottom = { size = 15 }, right = { size = 40 } },
|
|
animate = { enabled = false },
|
|
},
|
|
},
|
|
{
|
|
"chrisgrieser/nvim-early-retirement",
|
|
cond = full,
|
|
event = "VeryLazy",
|
|
opts = { retirementAgeMins = 20, ignoreUnsavedChangesBufs = true },
|
|
},
|
|
}
|