From 51d76dd51572193135a0dde94fc6ad6dbf1fff1d Mon Sep 17 00:00:00 2001 From: army castillo Date: Sun, 6 Apr 2025 02:48:58 -0400 Subject: [PATCH] assistant/codecompanion-nvim: Description clean up Added "Whether to enable" to mkEnableOption descriptions with `//` merge. --- .../codecompanion/codecompanion-nvim.nix | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/modules/plugins/assistant/codecompanion/codecompanion-nvim.nix b/modules/plugins/assistant/codecompanion/codecompanion-nvim.nix index a73f1566..8e5ed4cc 100644 --- a/modules/plugins/assistant/codecompanion/codecompanion-nvim.nix +++ b/modules/plugins/assistant/codecompanion/codecompanion-nvim.nix @@ -13,7 +13,9 @@ in { mkEnableOption "" // { default = true; - description = "code from being sent to the LLM."; + description = '' + Whether to enable code being sent to the LLM. + ''; }; log_level = mkOption { @@ -35,7 +37,10 @@ in { mkEnableOption "" // { default = true; - description = "a diff view to see the changes made by the LLM."; + description = '' + Whether to enable a diff view + to see the changes made by the LLM. + ''; }; close_chat_at = mkOption { @@ -73,7 +78,7 @@ in { mkEnableOption "" // { default = true; - description = "automatic page scrolling."; + description = "Whether to enable automatic page scrolling."; }; show_settings = mkEnableOption '' @@ -95,14 +100,18 @@ in { mkEnableOption "" // { default = true; - description = "references in the chat buffer."; + description = '' + Whether to enable references in the chat buffer. + ''; }; show_token_count = mkEnableOption "" // { default = true; - description = "the token count for each response."; + description = '' + Whether to enable the token count for each response. + ''; }; intro_message = mkOption { @@ -165,7 +174,10 @@ in { mkEnableOption "" // { default = true; - description = "showing default actions in the action palette."; + description = '' + Whether to enable showing default + actions in the action palette. + ''; }; show_default_prompt_library = @@ -173,7 +185,8 @@ in { // { default = true; description = '' - showing default prompt library in the action palette. + Whether to enable showing default + prompt library in the action palette. ''; }; };