Revert "Remove use-package-font-lock-keywords"

This reverts commit 4938167bff.
This commit is contained in:
John Wiegley 2022-08-18 22:53:04 -07:00
parent 09e837dfae
commit 6c2fdaffd9

View file

@ -328,6 +328,13 @@ Must be set before loading use-package."
(set-default sym value))
:group 'use-package)
(defconst use-package-font-lock-keywords
'(("(\\(use-package\\)\\_>[ \t']*\\(\\(?:\\sw\\|\\s_\\)+\\)?"
(1 font-lock-keyword-face)
(2 font-lock-constant-face nil t))))
(font-lock-add-keywords 'emacs-lisp-mode use-package-font-lock-keywords)
(defcustom use-package-compute-statistics nil
"If non-nil, compute statistics concerned use-package declarations.
View the statistical report using `use-package-report'. Note that