mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Add subrip.nanorc
This commit is contained in:
parent
1aa64a86cf
commit
01cb4a4025
1 changed files with 10 additions and 0 deletions
10
subrip.nanorc
Normal file
10
subrip.nanorc
Normal 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:]/!?][^>]*>"
|
||||
Loading…
Add table
Add a link
Reference in a new issue