Skip to content

Commit

Permalink
Merge pull request #155 from NotAShelf/misc
Browse files Browse the repository at this point in the history
ui/noice: disable messages by default
  • Loading branch information
NotAShelf authored Oct 14, 2023
2 parents 767b5ec + 8c4d7a3 commit 5f0b724
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion modules/ui/noice/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ in {
command_palette = true, -- 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 = ${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 = {
Expand All @@ -45,6 +45,17 @@ in {
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
routes = {
{
Expand Down

0 comments on commit 5f0b724

Please sign in to comment.