Skip to content

Commit 7fe12df

Browse files
committed
fix: listitem error for "-<tab>"
fix #35 fix #37
1 parent 22d5dcd commit 7fe12df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

grammar.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ module.exports = grammar({
7373
seq('|', /[^|\n\t ]+/),
7474
// NOT taglink: "||".
7575
/\|\|*/,
76+
// NOT listitem: "-" or "•" followed by tab.
77+
/[-]\t/,
7678
// NOT argument:
7779
'{',
7880
'}',

0 commit comments

Comments
 (0)