From 649d37d62cc47b22d27c6714f012fe20013a1f51 Mon Sep 17 00:00:00 2001 From: robin Date: Fri, 6 Mar 2026 23:12:58 +0100 Subject: [PATCH] doc: tabline section --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index beddd27..f7358c4 100644 --- a/README.md +++ b/README.md @@ -250,3 +250,19 @@ winbar = { end), }, ``` + +### tabline + +similarly, the tabline can be configured with the help of the `lylla.tabline` module: + +```lua +local H = require('lylla.tabline') + +tabline = function() + return H.fortabs(function(tabidx, t_iscurrent) + return { + { string.format(" %d "), t_iscurrent and "TabLineSel" or "TabLine" }, + } + end) +end +``` -- 2.51.2