From ec5f2deabe1a9b0abf17e3608b5a87290e37d13f Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 4 Nov 2024 20:49:39 +0100 Subject: fix(tree-sitter-yts/grammar.js): Add missing commands --- tree-sitter-yts/grammar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tree-sitter-yts') 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]+/, -- cgit 1.4.1