emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nginx-mode cbc2e9b 16/34: Merge pull request #9 from LC43/


From: ELPA Syncer
Subject: [nongnu] elpa/nginx-mode cbc2e9b 16/34: Merge pull request #9 from LC43/patch-1
Date: Sun, 29 Aug 2021 11:24:14 -0400 (EDT)

branch: elpa/nginx-mode
commit cbc2e9b24900da19ab978ea40b7e24b32c83ea2a
Merge: 2cbac8a f8f5769
Author: Andrew J. Cosgriff <andrew@cosgriff.name>
Commit: Andrew J. Cosgriff <andrew@cosgriff.name>

    Merge pull request #9 from LC43/patch-1
    
    Update Readme with an example
---
 README.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 2365cd5..5df9502 100644
--- a/README.md
+++ b/README.md
@@ -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)) 
  
+```



reply via email to

[Prev in Thread] Current Thread [Next in Thread]