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
commitfb8349cc552b07512162cfe200f0514c2a7282ba (patch)
treefd93bc57776b3a17d9dbf0bbca468c63d70b18ea /conf
parent33eae79fa8e3876f9a80f10f760d864053eefd8c (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