Emacs sql-indent
Switch branches/tags
Nothing to show
Clone or download
bsvingen How to run tests
Explaining how to run the tests in readme.md
Latest commit 761a572 Jan 13, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
sql-indent.el Use sql-indent-line in implementation of sql-indent-buffer Jan 12, 2017


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.