Permalink
Browse files

hrm. maybe highlighting parens and curly braces wasn't such a good id…

…ea (my eyes!)
  • Loading branch information...
1 parent 0600403 commit 79e1c5bfb73dcaa11ef10dec72bd649641a23484 @ajc committed Oct 14, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 nginx-mode.el
View
@@ -48,7 +48,9 @@
(list '("#.*" . font-lock-comment-face)
'("^\\([ \t]+\\)?\\([A-Za-z09_]+\\)" 2 font-lock-keyword-face t)
'(";$" . font-lock-pseudo-keyword-face)
- '("\\(\{\\|\}\\|\(\\|\)\\)" . font-lock-pseudo-keyword-face)
+ ;; uncomment the next one if you want your eyes to bleed
+ ;; (it'll highlight parentheses and curly braces)
+ ;;'("\\(\{\\|\}\\|\(\\|\)\\)" . font-lock-pseudo-keyword-face)
'("^\\([ \t]+\\)?rewrite[ \t]+.+[ \t]+\\(permanent\\|redirect\\|break\\|last\\);$" 2 font-lock-operator-face)
'("\\(\$[0-9]+\\)[^0-9]" 1 font-lock-constant-face)
'("\$[A-Za-z0-9_\-]+" . font-lock-variable-name-face)

0 comments on commit 79e1c5b

Please sign in to comment.