diff options
author | Andrew J. Cosgriff | 2014-03-22 14:24:31 +1100 |
---|---|---|
committer | Andrew J. Cosgriff | 2014-03-22 14:24:31 +1100 |
commit | cbc2e9b24900da19ab978ea40b7e24b32c83ea2a (patch) | |
tree | 712ceda6d7244f8bf424ddce44973b4c1c67766d /README.md | |
parent | 2cbac8af3c2286e4e0452e7257d1661f30bd6ccf (diff) | |
parent | f8f576915d1179463209a21443ebaa71eb07cb70 (diff) | |
download | nginx-mode-cbc2e9b24900da19ab978ea40b7e24b32c83ea2a.tar.gz nginx-mode-cbc2e9b24900da19ab978ea40b7e24b32c83ea2a.zip |
Merge pull request #9 from LC43/patch-1
Update Readme with an example
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -20,7 +20,11 @@ Many thanks to the authors of puppet-mode.el, from where I found a useful indentation function that I've modified to suit this situation. Put this file into your load-path and the following into your ~/.emacs: +```lisp (require 'nginx-mode) +``` - - +Example: To load nginx-mode to all files in your /etc/nginx/sites-available use: +```lisp +(add-to-list 'auto-mode-alist '("/etc/nginx/sites-available/.*" . nginx-mode)) +``` |