Skip to content

Commit 09c33d5

Browse files
fix: merge error on topbar mode_info
1 parent 517c656 commit 09c33d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/opencode/ui/topbar.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ local function create_winbar_text(description, model_info, mode_info, show_guard
7878
local padding_width = desc_and_padding_width - #description
7979
local padding = string.rep(' ', math.max(0, padding_width))
8080

81-
return string.format(' %s%s%s%s %s', guard_icon, description, padding, model_info, mode_info_str)
81+
return string.format(' %s%s%s%s %s', guard_icon, description, padding, model_info, get_mode_highlight() .. mode_info .. '%*')
8282
end
8383

8484
local function update_winbar_highlights(win_id)

0 commit comments

Comments
 (0)