aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/state/templates.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/state/templates.go b/lib/state/templates.go
index b5a5ee05..1e8bad00 100644
--- a/lib/state/templates.go
+++ b/lib/state/templates.go
@@ -467,7 +467,7 @@ func (d *TemplateData) PendingKeys() string {
return config.FormatKeyStrokes(d.pendingKeys)
}
-func (d *TemplateData) Style(name string, content string) string {
+func (d *TemplateData) Style(content, name string) string {
cfg := config.Ui.ForAccount(d.Account())
style := cfg.GetUserStyle(name)
return parse.ApplyStyle(style, content)