summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Andrew J. Cosgriff2014-03-22 14:28:07 +1100
committerGravatar Andrew J. Cosgriff2014-03-22 14:28:07 +1100
commit6fd3933a9aa4911f7c9e594a132819470f2ed02c (patch)
tree07cd2969ffba79cbed5b9988ee40f1699060f017
parentcbc2e9b24900da19ab978ea40b7e24b32c83ea2a (diff)
downloadnginx-mode-6fd3933a9aa4911f7c9e594a132819470f2ed02c.tar.gz
nginx-mode-6fd3933a9aa4911f7c9e594a132819470f2ed02c.zip
Update README.md
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5df9502..d38f7c9 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ Put this file into your load-path and the following into your ~/.emacs:
(require 'nginx-mode)
```
-Example: To load nginx-mode to all files in your /etc/nginx/sites-available use:
+The mode should automatically activate for files called `nginx.conf` and files under `/etc/nginx` - if not, you can add something like this to your init file:
```lisp
(add-to-list 'auto-mode-alist '("/etc/nginx/sites-available/.*" . nginx-mode))
```