Skip to content

Commit e759a7a

Browse files
committed
fix(spec): Fixed inconsistency of message decorations
1 parent 8e2c1eb commit e759a7a

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

lua/ui/spec.lua

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,10 @@ spec.default = {
833833
decorations = function (msg)
834834
local config = {
835835
icon = {
836-
{ "", "UIMessageDefault" }
836+
{ "▍󰍡 ", "UIMessageDefault" }
837+
},
838+
padding = {
839+
{ "", "UIMessageWarnSign" }
837840
}
838841
};
839842

@@ -1152,10 +1155,10 @@ spec.default = {
11521155

11531156
decorations = {
11541157
icon = {
1155-
{ "", "UIMessageErrorSign" }
1158+
{ "", "UIMessageErrorSign" }
11561159
},
11571160
padding = {
1158-
{ "", "UIMessageErrorSign" }
1161+
{ " ", "UIMessageErrorSign" }
11591162
},
11601163

11611164
line_hl_group = "UIMessageError"
@@ -1394,7 +1397,7 @@ spec.default = {
13941397
{ "▍󰡠 ", "UICmdlineSubstituteIcon" }
13951398
},
13961399
padding = {
1397-
{ "", "UICmdlineSubstituteIcon" }
1400+
{ " ", "UICmdlineSubstituteIcon" }
13981401
},
13991402

14001403
line_hl_group = "UICmdlineSubstitute"

0 commit comments

Comments
 (0)