aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
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