diff options
author | Andrew J Cosgriff | 2010-10-14 21:36:43 +1100 |
---|---|---|
committer | Andrew J Cosgriff | 2010-10-14 21:36:43 +1100 |
commit | 79e1c5bfb73dcaa11ef10dec72bd649641a23484 (patch) | |
tree | 55dfd911bffbcd329cc6734e44c130a2ac32c20d | |
parent | 0600403fe09955d230f320c0e28a8a2b5dbb6225 (diff) | |
download | nginx-mode-79e1c5bfb73dcaa11ef10dec72bd649641a23484.tar.gz nginx-mode-79e1c5bfb73dcaa11ef10dec72bd649641a23484.zip |
hrm. maybe highlighting parens and curly braces wasn't such a good idea (my eyes!)
-rw-r--r-- | nginx-mode.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nginx-mode.el b/nginx-mode.el index 2caf835..9f2b9e8 100644 --- a/nginx-mode.el +++ b/nginx-mode.el @@ -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) |