mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
commit
b39fe98f6d
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 brightred "^#EXT[-A-Z]*:"
|
||||||
|
color brightmagenta "^#EXTM3U"
|
||||||
|
|
||||||
|
# Separators
|
||||||
|
color normal "[,=]"
|
||||||
|
|
||||||
|
# URLs
|
||||||
|
color normal "^[^#].*"
|
Loading…
Reference in New Issue
Block a user