fix(wezterm): format lua code
This commit is contained in:
@@ -10,44 +10,43 @@ fonts.regular = wezterm.font({
|
||||
family = family,
|
||||
weight = "Regular",
|
||||
stretch = "Normal",
|
||||
style = "Normal"
|
||||
style = "Normal",
|
||||
})
|
||||
fonts.italic = wezterm.font({
|
||||
family = family,
|
||||
weight = "Regular",
|
||||
stretch = "Normal",
|
||||
style = "Italic"
|
||||
style = "Italic",
|
||||
})
|
||||
fonts.bold = wezterm.font({
|
||||
family = family,
|
||||
weight = "Bold",
|
||||
stretch = "Normal",
|
||||
style = "Normal"
|
||||
style = "Normal",
|
||||
})
|
||||
fonts.bolditalic = wezterm.font({
|
||||
family = family,
|
||||
weight = "Bold",
|
||||
stretch = "Normal",
|
||||
style = "Italic"
|
||||
style = "Italic",
|
||||
})
|
||||
|
||||
fonts.rules = {
|
||||
italic = {
|
||||
intensity = "Normal",
|
||||
italic = true,
|
||||
font = fonts.italic
|
||||
font = fonts.italic,
|
||||
},
|
||||
bold = {
|
||||
intensity = "Bold",
|
||||
italic = false,
|
||||
font = fonts.bold
|
||||
font = fonts.bold,
|
||||
},
|
||||
bolditalic = {
|
||||
intensity = "Bold",
|
||||
italic = true,
|
||||
font = fonts.bolditalic
|
||||
font = fonts.bolditalic,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
return fonts
|
||||
|
||||
Reference in New Issue
Block a user