File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ module.exports = grammar({
34
34
// "foo({a})" parse as "(word) (argument)" instead of "(word)".
35
35
token ( prec ( - 1 , / [ ^ \n \t { ] [ ^ \n \t ] * / ) ) ,
36
36
token ( prec ( - 2 , / [ ^ \n \t ] + / ) ) ,
37
- choice ( $ . _word_common ) ,
37
+ $ . _word_common ,
38
38
) ,
39
39
40
40
_atom_noli : ( $ ) => prec ( 1 , choice (
@@ -45,7 +45,7 @@ module.exports = grammar({
45
45
// Lines contained by line_li must not start with a listitem symbol.
46
46
token ( prec ( - 1 , / [ ^ - * + • \n \t ] [ ^ \n \t ] * / ) ) ,
47
47
token ( prec ( - 1 , / [ - * + • ] [ ^ \n \t ] + / ) ) ,
48
- choice ( $ . _word_common ) ,
48
+ $ . _word_common ,
49
49
) ) ,
50
50
51
51
_atom_common : ( $ ) =>
@@ -72,8 +72,6 @@ module.exports = grammar({
72
72
// NOT taglink: "||", "|"
73
73
/ \| \| + / ,
74
74
'|' ,
75
- // NOT listitem: "-" or "•" followed by tab.
76
- / [ - • ] \t / ,
77
75
// NOT argument:
78
76
'{' ,
79
77
'}' ,
You can’t perform that action at this time.
0 commit comments