mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
fontify use-package form
This commit is contained in:
parent
b901618607
commit
5b696d1918
1 changed files with 7 additions and 0 deletions
|
|
@ -604,6 +604,13 @@ For full documentation. please see commentary.
|
|||
|
||||
(put 'use-package 'lisp-indent-function 1)
|
||||
|
||||
(defconst use-package-font-lock-keywords
|
||||
'(("(\\(use-package\\)\\> *\\(\\sw+\\)?"
|
||||
(1 font-lock-keyword-face)
|
||||
(2 font-lock-constant-face))))
|
||||
|
||||
(font-lock-add-keywords 'emacs-lisp-mode use-package-font-lock-keywords)
|
||||
|
||||
(provide 'use-package)
|
||||
|
||||
;;; use-package.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue