Skip to content

Commit 6fd3933

Browse files
committed
Update README.md
1 parent cbc2e9b commit 6fd3933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Put this file into your load-path and the following into your ~/.emacs:
2424
(require 'nginx-mode)
2525
```
2626

27-
Example: To load nginx-mode to all files in your /etc/nginx/sites-available use:
27+
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:
2828
```lisp
2929
(add-to-list 'auto-mode-alist '("/etc/nginx/sites-available/.*" . nginx-mode))
3030
```

0 commit comments

Comments
 (0)