Fix incorrect example in tab template docs

Should be fmt.bg.default not fmt.bg.normal
Fixes #4360
This commit is contained in:
Kovid Goyal 2021-12-15 19:37:17 +05:30
parent 99d06f0714
commit 832f73fde9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1072,7 +1072,7 @@ is done by Python's string formatting machinery, so you can use, for instance,
layout name, upper-cased. If you want to style the text, you can use styling
directives, for example:
:code:`{fmt.fg.red}red{fmt.fg.default}normal{fmt.bg._00FF00}green
bg{fmt.bg.normal}`. Similarly, for bold and italic:
bg{fmt.bg.default}`. Similarly, for bold and italic:
:code:`{fmt.bold}bold{fmt.nobold}normal{fmt.italic}italic{fmt.noitalic}`.
'''
)