about summary refs log tree commit diff stats
path: root/pkgs/by-name/tr/tree-sitter-yts/corpus
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 15:28:45 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 15:28:45 +0200
commit185c2a0c85b005dd6ebf62fe8cc6c081a81fbc48 (patch)
tree5ea38d5abcf452260a08b99dabd8af2a118a86ef /pkgs/by-name/tr/tree-sitter-yts/corpus
parentfix(pkgs/yt): Update to v1.0.0 (diff)
downloadnixos-config-185c2a0c85b005dd6ebf62fe8cc6c081a81fbc48.zip
fix(pkgs/tree-sitter-yts): Support dashes in flags
Diffstat (limited to 'pkgs/by-name/tr/tree-sitter-yts/corpus')
-rw-r--r--pkgs/by-name/tr/tree-sitter-yts/corpus/flags_dash.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/flags_dash.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/flags_dash.txt
new file mode 100644
index 00000000..b9a5e7cc
--- /dev/null
+++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/flags_dash.txt
@@ -0,0 +1,29 @@
+================================================================================
+Correctly detect flags
+================================================================================
+
+watch --subtitle-langs="" --speed 1 6z21 "Name" "2024-01-17" "A" "0m 0s" "url"
+
+--------------------------------------------------------------------------------
+
+(source_file
+  (line
+    (command)
+    (flag)
+    (flag)
+    (id)
+    (title
+      (quote)
+      (quote))
+    (date
+      (quote)
+      (quote))
+    (author
+      (quote)
+      (quote))
+    (duration
+      (quote)
+      (quote))
+    (url
+      (quote)
+      (quote))))