/sql-indent

Emacs sql-indent

Primary LanguageEmacs Lisp

This is sql-indent for Emacs.

It was originally written by Alex Schroeder, and used to live on emacswiki.org.

Usage note:

Loading this file will make all SQL mode buffers created from then on use `sql-indent-line' for indentation. A possible way to install sql-indent.el would be to add the following to your .emacs:

(eval-after-load "sql"
  '(load-library "sql-indent"))

To run the tests:

  1. Install Cask.
  2. Run cask.
  3. Run make test.