1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-31 04:41:23 -08:00

refine use-package highlighting regexp

This commit is contained in:
Noam Postavsky 2013-08-11 16:05:06 -04:00
parent 3a4556a906
commit 2a1e7e418a

View file

@ -660,7 +660,7 @@ For full documentation. please see commentary.
(put 'use-package 'lisp-indent-function 1)
(defconst use-package-font-lock-keywords
'(("(\\(use-package\\)\\> *\\(\\sw+\\)?"
'(("(\\(use-package\\)\\_>[\n[:space:]]+\\(\\(?:\\s_\\|\\sw\\)+\\)"
(1 font-lock-keyword-face)
(2 font-lock-constant-face))))