mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 08:35:39 +01:00
M3U playlist syntax
This commit is contained in:
parent
195b8b21ec
commit
cdb3a12cc7
22
m3u.nanorc
Normal file
22
m3u.nanorc
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
syntax "m3u" "\.(m3u|m3u8)$"
|
||||||
|
|
||||||
|
# Header text
|
||||||
|
color brightcyan "^#EXTINF.*,[^,]*$"
|
||||||
|
|
||||||
|
# Header property values
|
||||||
|
color brightyellow "^#[^:]*:[^ ,]*"
|
||||||
|
color brightyellow "=[^ ,]*"
|
||||||
|
color brightyellow "=[\"][^\"]*[\"]"
|
||||||
|
|
||||||
|
# Header property keys
|
||||||
|
color brightgreen "[a-zA-Z-]*="
|
||||||
|
|
||||||
|
# Headers
|
||||||
|
color brightmagenta start="#EXTM3U.*" end="$"
|
||||||
|
color brightred "^#EXT[-A-Z]*:"
|
||||||
|
|
||||||
|
# Separators
|
||||||
|
color normal "[,=]"
|
||||||
|
|
||||||
|
# URLs
|
||||||
|
color normal "^[^#].*"
|
Loading…
Reference in New Issue
Block a user