dotfiles-pub/common/nano/syntax/m3u.nanorc

22 lines
404 B
Text

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 "^[^#].*"