Skip to content

Commit

Permalink
hrm. maybe highlighting parens and curly braces wasn't such a good id…
Browse files Browse the repository at this point in the history
…ea (my eyes!)
  • Loading branch information
ajc committed Oct 14, 2010
1 parent 0600403 commit 79e1c5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nginx-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 79e1c5b

Please sign in to comment.