From 01cb4a40253468630dd4332946c634bf8c1ad196 Mon Sep 17 00:00:00 2001 From: Sven Wick Date: Thu, 26 Aug 2021 21:45:51 +0200 Subject: [PATCH] Add subrip.nanorc --- subrip.nanorc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 subrip.nanorc diff --git a/subrip.nanorc b/subrip.nanorc new file mode 100644 index 0000000..15c26f3 --- /dev/null +++ b/subrip.nanorc @@ -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:]/!?][^>]*>"