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

Merge pull request from npostavs/master

refine use-package highlighting regexp
GitHub-reference: https://github.com/jwiegley/use-package/issues/41
This commit is contained in:
John Wiegley 2013-08-11 21:22:57 -07:00
commit e481d97891

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))))