parent
7b6cbaf8ff
commit
6544c201d6
1 changed files with 77 additions and 80 deletions
|
|
@ -1,84 +1,81 @@
|
||||||
return {
|
return {
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
-- OPTIONAL:
|
},
|
||||||
-- `nvim-notify` is only needed, if you want to use the notification view.
|
opts = {
|
||||||
-- If not available, we use `mini` as the fallback
|
presets = {
|
||||||
{
|
bottom_search = true,
|
||||||
"rcarriga/nvim-notify",
|
-- command_palette = true,
|
||||||
opts = {
|
long_message_to_split = true,
|
||||||
background_colour = "#000000",
|
inc_rename = true,
|
||||||
},
|
},
|
||||||
},
|
lsp = {
|
||||||
},
|
override = {
|
||||||
opts = {
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||||
presets = {
|
["vim.lsp.util.stylize_markdown"] = true,
|
||||||
bottom_search = true,
|
["cmp.entry.get_documentation"] = true,
|
||||||
-- command_palette = true,
|
},
|
||||||
long_message_to_split = true,
|
},
|
||||||
inc_rename = true,
|
routes = {
|
||||||
},
|
{
|
||||||
lsp = {
|
filter = {
|
||||||
override = {
|
event = "msg_show",
|
||||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
any = {
|
||||||
["vim.lsp.util.stylize_markdown"] = true,
|
{ find = "%d+L, %d+B" },
|
||||||
["cmp.entry.get_documentation"] = true,
|
{ find = "; after #%d+" },
|
||||||
},
|
{ find = "; before #%d+" },
|
||||||
},
|
},
|
||||||
routes = {
|
},
|
||||||
{
|
view = "mini",
|
||||||
filter = {
|
},
|
||||||
event = "msg_show",
|
{
|
||||||
any = {
|
filter = {
|
||||||
{ find = "%d+L, %d+B" },
|
event = "msg_show",
|
||||||
{ find = "; after #%d+" },
|
kind = "search_count",
|
||||||
{ find = "; before #%d+" },
|
},
|
||||||
},
|
opts = { skip = true },
|
||||||
},
|
},
|
||||||
view = "mini",
|
},
|
||||||
},
|
views = {
|
||||||
{
|
cmdline_popup = {
|
||||||
filter = {
|
position = {
|
||||||
event = "msg_show",
|
row = 5,
|
||||||
kind = "search_count",
|
col = "50%",
|
||||||
},
|
},
|
||||||
opts = { skip = true },
|
size = {
|
||||||
},
|
width = 60,
|
||||||
},
|
height = "auto",
|
||||||
views = {
|
},
|
||||||
cmdline_popup = {
|
},
|
||||||
position = {
|
popupmenu = {
|
||||||
row = 5,
|
relative = "editor",
|
||||||
col = "50%",
|
position = {
|
||||||
},
|
row = 8,
|
||||||
size = {
|
col = "50%",
|
||||||
width = 60,
|
},
|
||||||
height = "auto",
|
size = {
|
||||||
},
|
width = 60,
|
||||||
},
|
height = 10,
|
||||||
popupmenu = {
|
},
|
||||||
relative = "editor",
|
border = {
|
||||||
position = {
|
style = "rounded",
|
||||||
row = 8,
|
padding = { 0, 1 },
|
||||||
col = "50%",
|
},
|
||||||
},
|
win_options = {
|
||||||
size = {
|
winhighlight = { Normal = "Normal", FloatBorder = "DiagnosticInfo" },
|
||||||
width = 60,
|
},
|
||||||
height = 10,
|
},
|
||||||
},
|
notify = {
|
||||||
border = {
|
enabled = false,
|
||||||
style = "rounded",
|
},
|
||||||
padding = { 0, 1 },
|
messages = {
|
||||||
},
|
enabled = false,
|
||||||
win_options = {
|
},
|
||||||
winhighlight = { Normal = "Normal", FloatBorder = "DiagnosticInfo" },
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue