ELPA Logo GNU-devel ELPA: sql-indent

sql-indent Atom Feed

Description
Support for indenting code in SQL files.
Latest
sql-indent-1.7.0.20241109.2.tar (.sig), 2026-Aug-16, 180 KiB
Maintainer
Alex Harsanyi <AlexHarsanyi@gmail.com>
Other versions:
release version
Website
https://github.com/alex-hhh/emacs-sql-indent
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'.