Skip to content

Commit

Permalink
Improve tmux_render_format() docs
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-francisco committed Jul 26, 2024
1 parent 654b742 commit cfa6442
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ Advanced components for those who want extra control. Must be familiar with Tmux
local lualine_x = {
{
function ()
return '%#my_custom_highlight_title# Catppuccin: %#my_custom_highlight_description#' .. require('tmux-status').tmux_render_format('@catppuccin_flavour')
local text = '%#my_custom_highlight_title# Catppuccin: %#my_custom_highlight_description#'
return text .. require('tmux-status').tmux_render_format('@catppuccin_flavour')
end,
cond = require('tmux-status').show,
},
Expand Down

0 comments on commit cfa6442

Please sign in to comment.