From 076a26fae6318e7a13167868cf71f9125754fcdc Mon Sep 17 00:00:00 2001 From: max397574 Date: Sat, 18 Dec 2021 21:50:53 +0100 Subject: fix: fixed alignmend when changing size and new cmd syntax --- readme.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 25b481f..8b78e5c 100644 --- a/readme.md +++ b/readme.md @@ -110,9 +110,12 @@ section = { margin = 5, the margin for left or right alignment -- type of content depends on `type` -- "text" -> a table with string or a function that requires a function that returns a table of strings - -- "mapping" -> a table in the format: - -- {[] = {, }} - -- e.g. [" Find File"] = { "Telescope find_files", "ff" } + -- "mapping" -> a table with tables in the format: + -- { + -- {, , } + -- {, , } + -- } + -- e.g. {" Find File", "Telescope find_files", "ff" } -- "oldfiles" -> "" content = highlight = "String", -- highlight group in which the section text should be highlighted -- cgit v1.2.3