commit 111b30008a0d289e4963df31b11eeeda5cb1589f
parent ec295f5e68d2ced6c0e2639c69166c0387d04443
Author: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 12 Apr 2016 15:20:30 -0400
syntax: changelog: support more bug/issue styles
These are formats used by binutils/glibc/gdb/gcc.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/syntax/changelog.nanorc b/doc/syntax/changelog.nanorc
@@ -12,7 +12,7 @@ color yellow "<[^>]*@[^>]*>"
# Command-line options.
color cyan "[[:space:]]-[a-zA-Z\$]" "--[8a-z-]+"
# Bug and patch numbers.
-color cyan "bug #[0-9]{5,9}" "patch #[0-9]{4,9}"
+color cyan "(BZ|bug|patch) #[0-9]+" "PR [[:alnum:]]+/[0-9]+"
# Probable constants, for variety.
color brightred "\<[A-Z_][0-9A-Z_]+\>"
# Key sequences.