We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea9a944 commit 801122eCopy full SHA for 801122e
syntax/org_legacy.vim
@@ -49,15 +49,15 @@ hi def link org_comment Comment
49
" 1) list item
50
" a. list item
51
" a) list item
52
-syn match org_list_ordered "^\s*\(\a\|\d\+\)[.)]\(\s\|$\)" nextgroup=org_list_item
+syn match org_list_ordered "^\s*\(\a\|\d\+\)[.)]\ze\(\s\|$\)" nextgroup=org_list_item
53
hi def link org_list_ordered Identifier
54
55
" Unordered Lists:
56
" - list item
57
" * list item
58
" + list item
59
" + and - don't need a whitespace prefix
60
-syn match org_list_unordered "^\(\s*[-+]\|\s\+\*\)\(\s\|$\)" nextgroup=org_list_item
+syn match org_list_unordered "^\(\s*[-+]\|\s\+\*\)\ze\(\s\|$\)" nextgroup=org_list_item
61
hi def link org_list_unordered Identifier
62
63
" Definition Lists:
0 commit comments