ui/noice: disable messages by default

fixes completion sources showing up every single time
This commit is contained in:
NotAShelf 2023-10-14 14:52:55 +03:00
parent 767b5ec48a
commit 8c4d7a3673
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -32,7 +32,7 @@ in {
command_palette = true, -- position the cmdline and popupmenu together command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = ${boolToString (config.vim.ui.borders.enable)}, -- add a border to hover docs and signature help lsp_doc_border = ${boolToString config.vim.ui.borders.enable}, -- add a border to hover docs and signature help
}, },
format = { format = {
@ -45,6 +45,17 @@ in {
input = {}, input = {},
}, },
messages = {
-- NOTE: If you enable messages, then the cmdline is enabled automatically.
-- This is a current Neovim limitation.
enabled = false, -- enables the Noice messages UI
view = "notify", -- default view for messages
view_error = "notify", -- view for errors
view_warn = "notify", -- view for warnings
view_history = "messages", -- view for :messages
view_search = "virtualtext", -- view for search count messages. Set to `false` to disable
},
-- Hide written messages -- Hide written messages
routes = { routes = {
{ {