about summary refs log tree commit diff stats
path: root/tree-sitter-yts/grammar.js
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 20:49:39 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 20:49:39 +0100
commitec5f2deabe1a9b0abf17e3608b5a87290e37d13f (patch)
treefa55c84536c7d0467a8056adf75e246c39c11273 /tree-sitter-yts/grammar.js
parentbuild(tree-sitter-yts): Include in builds (diff)
downloadyt-ec5f2deabe1a9b0abf17e3608b5a87290e37d13f.tar.gz
yt-ec5f2deabe1a9b0abf17e3608b5a87290e37d13f.zip
fix(tree-sitter-yts/grammar.js): Add missing commands
Diffstat (limited to '')
-rw-r--r--tree-sitter-yts/grammar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree-sitter-yts/grammar.js b/tree-sitter-yts/grammar.js
index 8a9d61f..4857446 100644
--- a/tree-sitter-yts/grammar.js
+++ b/tree-sitter-yts/grammar.js
@@ -6,7 +6,7 @@ module.exports = grammar({
     line: ($) =>
       seq($.command, repeat($.flag), $.id, $.title, $.date, $.author, $.duration, $.url, "\n"),
 
-    command: ($) => choice("pick", "p", "watch", "w", "drop", "d", "url", "u"),
+    command: ($) => choice("pick", "p", "watch", "w", "watched", "wd", "add", "a", "drop", "d", "url", "u"),
     flag: ($) =>
       choice(
               /-\w [^\s]+/,