From 2ecabb5e09f9d5f3254c1efa02601601ea4ad123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Delafond?= Date: Fri, 19 Jan 2018 14:26:32 +0100 Subject: [emacs] Add some highlighting for Debian advisories & bugs --- conf/cvelist.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/cvelist.el b/conf/cvelist.el index 0b71319781..64d9cf8e10 100644 --- a/conf/cvelist.el +++ b/conf/cvelist.el @@ -27,10 +27,12 @@ (defvar debian-cvelist-font-lock-keywords '(("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" . font-lock-function-name-face) + ("D[LS]A-[0-9]\\{4,5\\}-[0-9]" . font-lock-function-name-face) + ("#[0-9]\\{1,7\\}" . font-lock-type-face) ("^\tNOTE:" . font-lock-comment-delimiter-face) ("^\tTODO:" . font-lock-warning-face) ("^\t\\(RESERVED\\|NOT-FOR-US\\|REJECTED\\)" . font-lock-keyword-face) - ("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" "\\[\\(.*\\)\\]$" nil nil (1 font-lock-variable-name-face)) + ("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" "[\\[(]\\(.+?\\).$" nil nil (1 font-lock-variable-name-face)) ("\\" . font-lock-warning-face) ("\\" . font-lock-constant-face)) "Keyword highlighting for `debian-cvelist-mode'") -- cgit v1.2.3