Add subrip.nanorc

This commit is contained in:
Sven Wick 2021-08-26 21:45:51 +02:00
parent 1aa64a86cf
commit 01cb4a4025
1 changed files with 10 additions and 0 deletions

10
subrip.nanorc Normal file
View File

@ -0,0 +1,10 @@
syntax "subrip" "\.srt$"
# Subtitle number
color yellow "^[0-9]+$"
# Timecode
color green "^[0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3} --> [0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3}"
# Tags
color cyan "<[[:alpha:]/!?][^>]*>"