diff options
author | Sébastien Delafond <sdelafond@gmail.com> | 2018-01-19 14:26:32 +0100 |
---|---|---|
committer | Sébastien Delafond <sdelafond@gmail.com> | 2018-01-19 14:26:32 +0100 |
commit | 1e039b69b34409522ed29479b659e0a66e3d9073 (patch) | |
tree | f78f5e72531849da695e35f9368ab30a7cada978 /conf | |
parent | 0cf609c6a516440d4dc4e0b6ecc85e4d5991b3d6 (diff) |
[emacs] Add some highlighting for Debian advisories & bugs
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cvelist.el | 4 |
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'") |