Make alphabetical bullets optional (and restrict to single character)

Related: #4
This commit is contained in:
Alex Vear
2021-03-11 19:01:01 +00:00
parent 5af62cc9b9
commit 82f7f89e4d

View File

@@ -91,7 +91,10 @@ highlight def link orgTag Type
" Lists
syntax match orgUnorderedListMarker "^\s*[-+]\s\+" keepend contains=@Spell
syntax match orgOrderedListMarker "^\s*[0-9a-zA-Z]\+[.)]\s\+" keepend contains=@Spell
syntax match orgOrderedListMarker "^\s*\d\+[.)]\s\+" keepend contains=@Spell
if org#option('org_list_alphabetical_bullets', 0)
syntax match orgOrderedListMarker "^\s*\a[.)]\s\+" keepend contains=@Spell
endif
highlight def link orgUnorderedListMarker Statement
highlight def link orgOrderedListMarker orgUnorderedListMarker