Permalink
Browse files

Merged branch(TEST-MARSHALL-PATCH@17) to trunk

git-svn-id: http://svn.clouder.jp/repos/public/yaml-mode/trunk@18 c9fe89ab-c918-0410-b9be-faebe9bd2962
  • Loading branch information...
1 parent 6694896 commit 65550183997c925fbc62419bc51e13f94a495a8b yoshiki committed Aug 25, 2006
Showing with 382 additions and 53 deletions.
  1. +9 −0 Changes
  2. +20 −5 README
  3. +353 −48 yaml-mode.el
View
@@ -0,0 +1,9 @@
+0.0.2 Fri Aug 25 18:04:01 2006 JST
+ - Patch from Marshall T. Vandegrift. Added lots of features.
+ * Added face used for YAML node anchors and aliases to
+ `font-lock-function-name-face'.
+ * Added face used for YAML tags to `font-lock-type-face'.
+ See http://www.yaml.org/refcard.html
+
+0.0.1 Fri Jan 21 03:18:00 2006 JST
+ - original version
View
@@ -1,11 +1,26 @@
NAME
yaml-mode - Simple major mode to edit YAML file for emacs
+VERSION
+ 1.2
+
SYNOPSIS
- # You must add path installed yaml-mode.el to load-path.
- (autoload 'yaml-mode "yaml-mode" "YAML" t)
- (setq auto-mode-alist
- (append '(("\\.yml$" . yaml-mode)) auto-mode-alist))
+ To install, just drop this file into a directory in your
+ `load-path' and (optionally) byte-compile it. To automatically
+ handle files ending in '.yml', add something like:
+
+ (require 'yaml-mode)
+ (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
+
+ to your .emacs file.
+
+ Unlike python-mode, this mode follows the Emacs convention of not
+ binding the ENTER key to `newline-and-indent'. To get this
+ behavior, add the key definition to `yaml-mode-hook':
+
+ (add-hook 'yaml-mode-hook
+ '(lambda ()
+ (define-key yaml-mode-map "\C-m" 'newline-and-indent)))
DESCRIPTION
yaml-mode is major mode for emacs.
@@ -25,7 +40,7 @@ SETTING
see SYNOPSIS.
AUTHOR
- Yoshiki Kurihara <kurihara@cpan.org> Copyright (C) 2002 by Free Software
+ Yoshiki Kurihara <kurihara@cpan.org> Copyright (C) 2006 by Free Software
Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
Oops, something went wrong.

0 comments on commit 6555018

Please sign in to comment.