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` - ''; };