projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a4556a
)
refine use-package highlighting regexp
author
Noam Postavsky
<npostavs@gmail.com>
Sun, 11 Aug 2013 20:05:06 +0000
(16:05 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Sun, 11 Aug 2013 20:05:06 +0000
(16:05 -0400)
lisp/use-package/use-package.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package.el
b/lisp/use-package/use-package.el
index 20344799b8a4cce9af28d3eb64715deee94d7fb6..33c6e18a626a9b3f28d7cd027917077270b7b7e5 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-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))))