Skip to content

Commit 12c4818

Browse files
authored
Allow multiple attributes in prefix_highlight_{fg,bg} (tmux-plugins#29)
Fixes tmux-plugins#27
1 parent 41d4ef4 commit 12c4818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prefix_highlight.tmux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ main() {
6464
empty_attr=$(tmux_option "$empty_attr_config" "$default_empty_attr") \
6565
empty_has_affixes=$(tmux_option "$empty_has_affixes" "off")
6666

67-
local -r prefix_highlight="#[fg=$fg_color]#[bg=$bg_color]"
67+
local -r prefix_highlight="$(format_style "fg=$fg_color,bg=$bg_color")"
6868
local -r prefix_mode="$prefix_highlight$output_prefix$prefix_prompt$output_suffix"
6969

7070
local -r copy_highlight="$(format_style "${copy_attr:+default,$copy_attr}")"

0 commit comments

Comments
 (0)