From 3b752ba3de8f57230935d7103f2c6a9dc6a32e96 Mon Sep 17 00:00:00 2001 From: midischwarz12 Date: Wed, 3 Dec 2025 11:09:49 -0600 Subject: [PATCH] noice: message, notify, health options --- modules/plugins/ui/noice/noice.nix | 54 ++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/modules/plugins/ui/noice/noice.nix b/modules/plugins/ui/noice/noice.nix index edd80ee1..253ffff8 100644 --- a/modules/plugins/ui/noice/noice.nix +++ b/modules/plugins/ui/noice/noice.nix @@ -29,6 +29,60 @@ in { }; }; + messages = { + enabled = + mkEnableOption "Noice messages UI" + // { + default = true; + }; + view = mkOption { + description = "view for messages"; + type = str; + default = "notify"; + }; + view_error = mkOption { + description = "view for error messages"; + type = str; + default = "notify"; + }; + view_warn = mkOption { + description = "view for warnings"; + type = str; + default = "notify"; + }; + view_history = mkOption { + description = "view for :messages"; + type = str; + default = "messages"; + }; + view_search = mkOption { + description = "view for search count messages"; + type = str; + default = "virtualtext"; + }; + }; + + notify = { + enabled = + mkEnableOption "vim.notify routing" + // { + default = true; + }; + view = mkOption { + description = "view for vim.notify"; + type = str; + default = "notify"; + }; + }; + + health = { + checker = + mkEnableOption "health checks" + // { + default = true; + }; + }; + presets = { bottom_search = mkBool true "use a classic bottom cmdline for search"; command_palette = mkBool true "position the cmdline and popupmenu together";