aboutsummaryrefslogtreecommitdiffstats
path: root/tree-sitter-yts/grammar.js
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-14 13:03:24 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-14 13:03:24 +0100
commit3b4b0ee9c1c1a38eb5cabb4a52393cb6c1154bc2 (patch)
tree75e4ff9ca1f9a007e200765fff8a17913262f46b /tree-sitter-yts/grammar.js
parentbuild(treewide): Update (diff)
downloadyt-3b4b0ee9c1c1a38eb5cabb4a52393cb6c1154bc2.zip
chore(version): v1.4.0v1.4.0
Diffstat (limited to '')
-rw-r--r--tree-sitter-yts/grammar.js3
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),