How to force notifications history into messages window? #830
Answered
by
folke
augustocdias
asked this question in
Q&A
-
I really like that I can show messages as notifications, but when I call the Here's my current noice config: {
presets = {
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = true, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
['vim.lsp.util.convert_input_to_markdown_lines'] = true,
['vim.lsp.util.stylize_markdown'] = true,
['cmp.entry.get_documentation'] = true,
},
signature = {
enabled = false,
},
},
cmdline = {
enabled = true,
format = {
search_down = { icon = ' ' },
search_up = { icon = ' ' },
},
},
commands = {
nots = {
view = 'split',
opts = { enter = true, format = 'details' },
filter = {
any = {
{ event = 'notify' },
},
},
},
},
routes = {
{
view = 'notify',
filter = { event = 'msg_showmode' },
},
-- supress annoying messages
{
filter = {
event = 'msg_show',
find = '".*".*L,.*B',
},
opts = { skip = true },
},
{
filter = {
event = 'msg_show',
find = 'second.? ago',
},
opts = { skip = true },
},
{
filter = {
event = 'msg_show',
find = 'fewer lines',
},
opts = { skip = true },
},
{
filter = {
event = 'msg_show',
find = 'written',
},
opts = { skip = true },
},
},
views = {
cmdline_popup = {
border = {
style = 'none',
padding = { 1, 2 },
},
filter_options = {},
},
},
} |
Beta Was this translation helpful? Give feedback.
Answered by
folke
Jun 3, 2024
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
augustocdias
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notifications
is not a Noice command.Use
:Noice
or:Noice all
instead