summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorSébastien Delafond <sdelafond@gmail.com>2018-01-19 14:26:32 +0100
committerSébastien Delafond <sdelafond@gmail.com>2018-01-19 14:26:32 +0100
commit2ecabb5e09f9d5f3254c1efa02601601ea4ad123 (patch)
treef5c32fbdd55aeea2a1d87c287418d4dd79236711 /conf
parentf35fffa8c889dcab8e4aea765bf51a7237dd18d8 (diff)
[emacs] Add some highlighting for Debian advisories & bugs
Diffstat (limited to 'conf')
-rw-r--r--conf/cvelist.el4
1 files changed, 3 insertions, 1 deletions
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))
("\\<unfixed\\|undetermined\\>" . font-lock-warning-face)
("\\<end-of-life\\|not-affected\\|no-dsa\\|ignored\\|postponed\\>" . font-lock-constant-face))
"Keyword highlighting for `debian-cvelist-mode'")

© 2014-2024 Faster IT GmbH | imprint | privacy policy