From 0af681507273a8e7d4f18d535744de58cc158991 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 22 Apr 2026 00:36:10 +0300 Subject: [PATCH] terminal/toggleterm: fix formatting & typo Signed-off-by: NotAShelf Change-Id: Ic8fad27899388fae9651833aa2ec80d96a6a6964 --- .../plugins/terminal/toggleterm/toggleterm.nix | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/modules/plugins/terminal/toggleterm/toggleterm.nix b/modules/plugins/terminal/toggleterm/toggleterm.nix index bc4cdb51..424dd2b8 100644 --- a/modules/plugins/terminal/toggleterm/toggleterm.nix +++ b/modules/plugins/terminal/toggleterm/toggleterm.nix @@ -65,14 +65,13 @@ in { return term.name end ''; - defaultText = - literalExpression - mkLuaInline '' ' - function(term) - return term.name - end - ''' - ''; + defaultText = literalExpression '' + mkLuaInline ''' + function(term) + return term.name + end + ''' + ''; description = "Winbar formatter function."; }; }; @@ -93,9 +92,8 @@ in { description = '' The package that should be used for lazygit. - Setting this option to `null` will instead attemp to use `lazygit` + Setting this option to `null` will instead attempt to use `lazygit` from your {env}`PATH` - ''; };