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-21 14:45:22 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-21 14:45:22 +0200
commit6a1da14f61d7aac091ad4e4231bfb007d6b62be8 (patch)
treebe556f144f40ce6ca4714e45567388fde13924c6 /pkgs/by-name/tr/tree-sitter-yts/corpus
parentfix(pkgs/yt): Improve `update` and `subs` immensely (diff)
downloadnixos-config-6a1da14f61d7aac091ad4e4231bfb007d6b62be8.zip
fix(pkgs/tree-sitter-yts): Update grammar to new yt
Diffstat (limited to 'pkgs/by-name/tr/tree-sitter-yts/corpus')
-rw-r--r--pkgs/by-name/tr/tree-sitter-yts/corpus/comments.txt4
-rw-r--r--pkgs/by-name/tr/tree-sitter-yts/corpus/comments_correct.txt2
-rw-r--r--pkgs/by-name/tr/tree-sitter-yts/corpus/duration.txt8
-rw-r--r--pkgs/by-name/tr/tree-sitter-yts/corpus/flags.txt71
-rw-r--r--pkgs/by-name/tr/tree-sitter-yts/corpus/url.txt8
5 files changed, 82 insertions, 11 deletions
diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/comments.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/comments.txt
index 0070baf8..f194cb53 100644
--- a/pkgs/by-name/tr/tree-sitter-yts/corpus/comments.txt
+++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/comments.txt
@@ -2,8 +2,8 @@
 Parse multiple lines
 ================================================================================
 
-pick 6221 "Name" "2024-01-17" "A" "[0m 0s]" "url"
-pick 6181 "Name2" "2024-01-16" "A2" "[0m 0s]" "url"
+pick 6z21 "Name" "2024-01-17" "A" "0m 0s" "url"
+pick 61f1 "Name2" "2024-01-16" "A2" "0m 0s" "url"
 
 # This is a comment
 # it contains information
diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/comments_correct.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/comments_correct.txt
index 40cdab7d..fd45e470 100644
--- a/pkgs/by-name/tr/tree-sitter-yts/corpus/comments_correct.txt
+++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/comments_correct.txt
@@ -2,7 +2,7 @@
 Disregard comments in title
 ================================================================================
 
-pick 6094 "#100 Name" "2024-01-12" "A" "[133m 29s]" "url"
+pick 6r94 "#100 Name" "2024-01-12" "A" "133m 29s" "url"
 
 --------------------------------------------------------------------------------
 
diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/duration.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/duration.txt
index 59476b98..af9ca82f 100644
--- a/pkgs/by-name/tr/tree-sitter-yts/corpus/duration.txt
+++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/duration.txt
@@ -2,10 +2,10 @@
 Parse multiple lines with different durations
 ================================================================================
 
-pick 6221 "Name" "2024-01-17" "A" "[1h 0m]" "url"
-pick 6181 "Name2" "2024-01-16" "A2" "[20m 02s]" "url2"
-pick 6184 "Name3" "2024-01-16" "A3" "[20h 0m]" "url3"
-pick 6206 "Name4" "2024-01-16" "A4" "[No Duration]" "url4"
+pick 6f21 "Name" "2024-01-17" "A" "1h 0m" "url"
+pick 6z81 "Name2" "2024-01-16" "A2" "20m 02s" "url2"
+pick 6a84 "Name3" "2024-01-16" "A3" "20h 0m" "url3"
+pick 6b06 "Name4" "2024-01-16" "A4" "[No Duration]" "url4"
 
 --------------------------------------------------------------------------------
 
diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/flags.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/flags.txt
new file mode 100644
index 00000000..8c1d255b
--- /dev/null
+++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/flags.txt
@@ -0,0 +1,71 @@
+================================================================================
+Correctly detect flags
+================================================================================
+
+watch --priority="-100" --speed 1 6z21 "Name" "2024-01-17" "A" "0m 0s" "url"
+watch -s 2 -l 'en,gr,fr' 61f1 "Name2" "2024-01-16" "A2" "0m 0s" "url"
+watch -s=2 -l='en,gr,fr' 61f1 "Name2" "2024-01-16" "A2" "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)))
+  (line
+    (command)
+    (flag)
+    (flag)
+    (id)
+    (title
+      (quote)
+      (quote))
+    (date
+      (quote)
+      (quote))
+    (author
+      (quote)
+      (quote))
+    (duration
+      (quote)
+      (quote))
+    (url
+      (quote)
+      (quote)))
+  (line
+    (command)
+    (flag)
+    (flag)
+    (id)
+    (title
+      (quote)
+      (quote))
+    (date
+      (quote)
+      (quote))
+    (author
+      (quote)
+      (quote))
+    (duration
+      (quote)
+      (quote))
+    (url
+      (quote)
+      (quote))))
diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/url.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/url.txt
index 1ae3d106..8236d6b7 100644
--- a/pkgs/by-name/tr/tree-sitter-yts/corpus/url.txt
+++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/url.txt
@@ -2,10 +2,10 @@
 Parse multiple lines with url
 ================================================================================
 
-pick 6221 "Name" "2024-01-17" "A" "[0h 0m]" "url"
-pick 6181 "Name2" "2024-01-16" "A2" "[0h 0m]" "url2"
-pick 6184 "Name3" "2024-01-16" "A3" "[0h 0m]" "url3"
-pick 6206 "Name4" "2024-01-16" "A4" "[0h 0m]" "url4"
+pick c221 "Name" "2024-01-17" "A" "0h 0m" "url"
+pick b181 "Name2" "2024-01-16" "A2" "0h 0m" "url2"
+pick a184 "Name3" "2024-01-16" "A3" "0h 0m" "url3"
+pick d206 "Name4" "2024-01-16" "A4" "0h 0m" "url4"
 
 --------------------------------------------------------------------------------