From 3d193f7e5c1459b1d07b429d5c717a80d8cbdfd5 Mon Sep 17 00:00:00 2001 From: Andrew J Cosgriff Date: Wed, 20 Oct 2010 15:41:16 +1100 Subject: * 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/ ) --- README | 11 ----------- README.md | 26 ++++++++++++++++++++++++++ nginx-mode.el | 15 +++++++++++---- 3 files changed, 37 insertions(+), 15 deletions(-) delete mode 100644 README create mode 100644 README.md 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 + +* Author: Andrew J Cosgriff +* Maintainer: Andrew J Cosgriff +* 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 +;; Author: Andrew J Cosgriff +;; Maintainer: Andrew J Cosgriff +;; 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 . ;;; 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) -- cgit v1.2.3-54-g00ecf