GNU ELPA — sql-indent

sql-indent Atom Feed

Description
Support for indenting code in SQL files.
Latest
sql-indent-1.7.tar (.sig), 2026-May-17, 180 KiB
Maintainer
Alex Harsanyi <AlexHarsanyi@gmail.com>
Website
https://github.com/alex-hhh/emacs-sql-indent
Browse ELPA's repository
CGit or Gitweb
All Dependencies
cl-lib (.tar)
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

`sqlind-minor-mode' is a minor mode that enables syntax-based indentation
for `sql-mode' buffers: the TAB key indents the current line based on the
SQL code on previous lines.  To setup syntax-based indentation for every
SQL buffer, add `sqlind-minor-mode' to `sql-mode-hook'.  Indentation rules
are flexible and can be customized to match your personal coding style.
For more information, see the "sql-indent.org" file.

The package also defines align rules so that the `align' function works for
SQL statements, see `sqlind-align-rules'.

Old versions