aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authormax397574 <[email protected]>2021-12-18 21:50:53 +0100
committermax397574 <[email protected]>2021-12-18 21:50:53 +0100
commit076a26fae6318e7a13167868cf71f9125754fcdc (patch)
tree1f4993bdb6a3c017a94b7a0ce0d266440f5ba346 /readme.md
parent867778be1894c3c6c9455bec5f360ce7fb5e4e8b (diff)
fix: fixed alignmend when changing size and new cmd syntax
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md9
1 files changed, 6 insertions, 3 deletions
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:
- -- {[<displayed_command_name>] = {<command>, <mapping>}}
- -- e.g. [" Find File"] = { "Telescope find_files", "<leader>ff" }
+ -- "mapping" -> a table with tables in the format:
+ -- {
+ -- {<displayed_command_name>, <command>, <mapping>}
+ -- {<displayed_command_name>, <command>, <mapping>}
+ -- }
+ -- e.g. {" Find File", "Telescope find_files", "<leader>ff" }
-- "oldfiles" -> ""
content = <content>
highlight = "String", -- highlight group in which the section text should be highlighted