]> git.eshelyaron.com Git - emacs.git/commitdiff
refine use-package highlighting regexp
authorNoam Postavsky <npostavs@gmail.com>
Sun, 11 Aug 2013 20:05:06 +0000 (16:05 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 11 Aug 2013 20:05:06 +0000 (16:05 -0400)
lisp/use-package/use-package.el

index 20344799b8a4cce9af28d3eb64715deee94d7fb6..33c6e18a626a9b3f28d7cd027917077270b7b7e5 100644 (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))))