From cfa6442ef044c2cfec9228a609ba36bd34809503 Mon Sep 17 00:00:00 2001 From: Christopher Francisco Almanza Date: Fri, 26 Jul 2024 19:50:09 +0100 Subject: [PATCH] Improve tmux_render_format() docs --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 891e532..76e4140 100644 --- a/README.md +++ b/README.md @@ -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, },