summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Andrew J Cosgriff2010-10-20 15:41:16 +1100
committerGravatar Andrew J Cosgriff2010-10-20 15:41:16 +1100
commit3d193f7e5c1459b1d07b429d5c717a80d8cbdfd5 (patch)
tree35869231f2896fb90d342e7c10f0b76de1a3be0e
parent79e1c5bfb73dcaa11ef10dec72bd649641a23484 (diff)
downloadnginx-mode-3d193f7e5c1459b1d07b429d5c717a80d8cbdfd5.tar.gz
nginx-mode-3d193f7e5c1459b1d07b429d5c717a80d8cbdfd5.zip
* nginx-mode.el: fix to use md-readme to generate a handy README.md file
(see http://jugglingbits.wordpress.com/2009/11/14/announcing-md-readme/ )
-rw-r--r--README11
-rw-r--r--README.md26
-rw-r--r--nginx-mode.el15
3 files changed, 37 insertions, 15 deletions
diff --git a/README b/README
deleted file mode 100644
index a035502..0000000
--- a/README
+++ /dev/null
@@ -1,11 +0,0 @@
-This is a quick mode for editing Nginx config files, as I didn't find
-anything else around that did quite this much.
-
-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.
-
-Syntax highlighting is currently rather(!) basic, but I'll extend it
-as necessary.
-
-Cheers,
- Cos.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2365cd5
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# nginx-mode.el --- major mode for editing nginx config files
+
+Copyright 2010 Andrew J Cosgriff <andrew@cosgriff.name>
+
+* Author: Andrew J Cosgriff <andrew@cosgriff.name>
+* Maintainer: Andrew J Cosgriff <andrew@cosgriff.name>
+* Created: 15 Oct 2010
+* Keywords: nginx
+
+available from http://github.com/ajc/nginx-mode
+
+Licensed under the [GPL version 3](http://www.gnu.org/licenses/) or later.
+
+# Commentary
+
+This is a quick mode for editing Nginx config files, as I didn't find
+anything else around that did quite this much.
+
+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:
+ (require 'nginx-mode)
+
+
+
diff --git a/nginx-mode.el b/nginx-mode.el
index 9f2b9e8..5662f38 100644
--- a/nginx-mode.el
+++ b/nginx-mode.el
@@ -2,6 +2,11 @@
;; Copyright 2010 Andrew J Cosgriff <andrew@cosgriff.name>
+;; Author: Andrew J Cosgriff <andrew@cosgriff.name>
+;; Maintainer: Andrew J Cosgriff <andrew@cosgriff.name>
+;; Created: 15 Oct 2010
+;; Keywords: nginx
+
;; available from http://github.com/ajc/nginx-mode
;; This program is free software; you can redistribute it and/or modify
@@ -15,13 +20,15 @@
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
-;; along with this program; if not, write to the Free Software
-;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+;; along with this program; if not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
-;; indentation bits were nicked from puppet-mode.el (thanks!) and
-;; modified to suit.
+;; This is a quick mode for editing Nginx config files, as I didn't find
+;; anything else around that did quite this much.
+
+;; 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:
;; (require 'nginx-mode)