Skip to content

Commit

Permalink
Add support for ABNF prose sequences
Browse files Browse the repository at this point in the history
Fixes: #2
  • Loading branch information
Alhadis committed Dec 3, 2019
1 parent bafacb0 commit 422d721
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions grammars/abnf.cson
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,18 @@ repository:
{include: "#optional"}
{include: "#core-rules"}
{include: "#reference"}
{include: "#prose"}
{match: "/", name: "keyword.operator.logical.or.alternation.pipe.abnf"}
]


# <Free-form text>
prose:
name: "string.other.prose.abnf"
begin: "<"
end: ">"
beginCaptures: 0: name: "punctuation.definition.string.begin.abnf"
endCaptures: 0: name: "punctuation.definition.string.end.abnf"


# Repetition
Expand Down

0 comments on commit 422d721

Please sign in to comment.