alex-hhh / emacs-sql-indent

Syntax based indentation for SQL files inside GNU Emacs
GNU General Public License v3.0
121 stars 18 forks source link

Recognize `select-join-condition` syntax inside nested statements #70 #71

Closed alex-hhh closed 5 years ago

alex-hhh commented 5 years ago

Updated syntax parser to recognize some JOIN condition keywords as select-join-condition syntax, even inside nested statements.

Updated some non-related tests (m, pr17 and pr68), as this syntax was not recognized when these tests were written. While this change will modify the indentation in such cases, it allows more refined control over the indention.