1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 16:45:40 +01:00

Add subrip.nanorc

This commit is contained in:
Sven Wick 2021-08-26 21:45:51 +02:00
parent 1aa64a86cf
commit 01cb4a4025

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:]/!?][^>]*>"