1
0
mirror of https://github.com/scopatz/nanorc synced 2024-10-31 23:00:00 +01:00
nanorc/m3u.nanorc

23 lines
404 B
Plaintext
Raw Normal View History

2020-02-09 10:50:20 +01:00
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 brightred "^#EXT[-A-Z]*:"
2020-02-09 10:57:37 +01:00
color brightmagenta "^#EXTM3U"
2020-02-09 10:50:20 +01:00
# Separators
color normal "[,=]"
# URLs
color normal "^[^#].*"