-
Notifications
You must be signed in to change notification settings - Fork 34
List items
Shawon edited this page Aug 10, 2024
·
3 revisions
list_items = {
enable = true,
shift_width = 4,
indent_size = 2,
marker_minus = {},
marker_plus = {},
marker_star = {},
marker_dot = {}
}
-
enable,
boolean
or nilUsed for toggling list item rendering.
-
shift_width,
number
Number of spaces to add per indent level of the list item.
-
indent_size,
number
Indentation size of list items.
-
marker_plus,
table
Configuration table for list items made with
+
. -
marker_minus,
table
Configuration table for list items made with
-
. -
marker_star,
table
Configuration table for list items made with
*
. -
marker_dot,
table
Configuration table for numbered list.
Each list type has the following options.
-
add_padding,
boolean
or nilEnables adding padding before lost items.
[!NOTE] List items are indented by 2 spaces(not 4).
-
text,
string
Text to use as the marker when rendered. Not supported by marker_dot.
-
hl,
string
or nilHighlight group for
text
.