Add onSegmentPopped, add more tests, improve validation, improve M3U8 grammar

This commit is contained in:
Vanilagy
2026-04-16 14:48:57 +02:00
parent f99adf2208
commit 56b25fbdf8
5 changed files with 102 additions and 2 deletions
+7
View File
@@ -56,6 +56,13 @@
}
]
},
{
"match": "^(#)(EXT-X-[A-Z0-9-]+|EXT-[A-Z0-9-]+)$",
"captures": {
"1": { "name": "punctuation.definition.comment.m3u8" },
"2": { "name": "keyword.control.tag.m3u8" }
}
},
{
"match": "^[^#\\s][^\\n]*$",
"name": "source.m3u8.uri"