summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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))
```