/flymake-yaml

A flymake handler for YAML

Primary LanguageEmacs Lisp

flymake-yaml.el

An Emacs flymake handler for syntax-checking YAML source code using Psych or Syck(Ruby 1.8/1.9 standard library).

Based in part on http://d.hatena.ne.jp/kitokitoki/20120306/p1.

These days you might be better served by flycheck.

Installation

If you choose not to use one of the convenient packages in Melpa and Marmalade, you'll need to add the directory containing flymake-yaml.el to your load-path, and then (require 'flymake-yaml). You'll also need to install flymake-easy.

Usage

Add the following to your emacs init file:

(require 'flymake-yaml) ;; Not necessary if using ELPA package
(add-hook 'yaml-mode-hook 'flymake-yaml-load)