From 2f5f6094089b29ee1e626cd9459fb42ce249e191 Mon Sep 17 00:00:00 2001 From: Maddison Hellstrom Date: Wed, 28 Feb 2024 01:15:20 -0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6990077..4444af9 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ render = function(props) end ``` -The returned value can be a string or a table which can include strings, highlight properties like foreground/background color, or even nested tables. Nested tables can contain the same sorts of things, including more nested tables. For more on the render function, see [`:help incline-render`](https://github.com/b0o/incline.nvim/blob/main/doc/incline.txt#L92). +The returned value can be nil, a string, or a table which can include strings, highlight properties like foreground/background color, or even nested tables. Nested tables can contain the same sorts of things, including more nested tables. If the render function returns nil, the statusline will be hidden until the next time the render function returns a non-nil value. For more on the render function, see [`:help incline-render`](https://github.com/b0o/incline.nvim/blob/main/doc/incline.txt#L92). Below are some examples to get you started.