mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
Update 2025-05-03 Update 2025-05-05 Update 2025-05-07 Update 2025-05-09 chore: use mini.nvim Update 2025-05-12 Update 2025-05-14 Update 2025-05-16 Update 2025-05-17 Update 2025-05-20 Update 2025-05-21 Update 2025-05-23 Update 2025-05-25 Update 2025-05-30
46 lines
1015 B
Lua
46 lines
1015 B
Lua
return {
|
|
"folke/noice.nvim",
|
|
event = "VeryLazy",
|
|
dependencies = {
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
keys = {
|
|
{
|
|
"<S-Enter>",
|
|
function()
|
|
require("noice").redirect(vim.fn.getcmdline())
|
|
end,
|
|
mode = "c",
|
|
desc = "Redirect Cmdline",
|
|
},
|
|
},
|
|
opts = {
|
|
cmdline = {
|
|
view = "cmdline",
|
|
},
|
|
routes = {
|
|
{
|
|
view = "notify",
|
|
filter = { event = "msg_showmode" },
|
|
},
|
|
},
|
|
lsp = {
|
|
progress = {
|
|
enabled = false,
|
|
},
|
|
override = {
|
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
|
["vim.lsp.util.stylize_markdown"] = true,
|
|
["cmp.entry.get_documentation"] = true,
|
|
},
|
|
},
|
|
presets = {
|
|
bottom_search = true, -- use a classic bottom cmdline for search
|
|
command_palette = false, -- position the cmdline and popupmenu together
|
|
long_message_to_split = true, -- long messages will be sent to a split
|
|
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
|
lsp_doc_border = true, -- add a border to hover docs and signature help
|
|
},
|
|
},
|
|
}
|