diff --git a/m3u.nanorc b/m3u.nanorc new file mode 100644 index 0000000..3e237e3 --- /dev/null +++ b/m3u.nanorc @@ -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 "^[^#].*"