diff options
Diffstat (limited to 'tree-sitter-yts/grammar.js')
-rw-r--r-- | tree-sitter-yts/grammar.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tree-sitter-yts/grammar.js b/tree-sitter-yts/grammar.js index c1c193f..7576228 100644 --- a/tree-sitter-yts/grammar.js +++ b/tree-sitter-yts/grammar.js @@ -59,7 +59,8 @@ module.exports = grammar({ ), id: ($) => /[a-z0-9]+/, title: ($) => seq($._q, /[^"]+/, $._q), - date: ($) => seq($._q, choice("[No release date]", /\d{4}-\d{2}-\d{2}/), $._q), + date: ($) => + seq($._q, choice("[No release date]", /\d{4}-\d{2}-\d{2}/), $._q), author: ($) => seq($._q, choice("[No author]", /[^"]+/), $._q), duration: ($) => seq($._q, seq(choice("[No duration]", /\d+m \d+s/, /\d+h \d+m/)), $._q), |