Skip to content

Commit

Permalink
Fix template tag syntax highlighting regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Miller authored and David Miller committed Feb 25, 2012
1 parent cda2fca commit 721919e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pony-tpl.el
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,7 @@ with the values of `pony-tpl-indent-start' and `pony-tpl-indent-end'."
'("{%.*\\(\\bor\\b\\).*%}" . (1 font-lock-builtin-face))
;'("{% ?comment ?%}\\(\n?.*?\\)+?{% ?endcomment ?%}" . font-lock-comment-face)
'("{#.*#}" . font-lock-comment-face)
'((concat "{% ?\\(\\(end\\)?\\(extends\\|for\\|cache\\|cycle"
"\\|filter\\|firstof\\|debug\\|if\\(changed\\|equal"
"\\|notequal\\|\\)\\|include\\|load\\|now\\|regroup"
"\\|spaceless\\|ssi\\|templatetag\\|widthratio\\|block\\|"
"trans\\)\\) ?.*? ?%}") . 1)
'("{% ?\\(\\(end\\)?\\(extends\\|for\\|cache\\|cycle\\|filter\\|firstof\\|debug\\|if\\(changed\\|equal\\|notequal\\|\\)\\|include\\|load\\|now\\|regroup\\|spaceless\\|ssi\\|templatetag\\|widthratio\\|block\\|trans\\)\\) ?.*? ?%}" . 1)
'("{{ ?\\(.*?\\) ?}}" . (1 font-lock-variable-name-face))
'("{%\\|\\%}\\|{{\\|}}" . font-lock-builtin-face)
))
Expand Down

0 comments on commit 721919e

Please sign in to comment.