branch: externals/sql-indent
commit 3d4e7a5cd9459b2daaa9fd80d558bb9dd55bb45e
Author: Pierre Téchoueyres <[email protected]>
Commit: Pierre Téchoueyres <[email protected]>

    Add support for connect by/start with.
    
    Add support for Oracle SQL start with / connect by. Align them like
    group by.
---
 sql-indent.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sql-indent.el b/sql-indent.el
index 0bcd8f2..6af9451 100644
--- a/sql-indent.el
+++ b/sql-indent.el
@@ -645,7 +645,9 @@ See also `sqlind-beginning-of-block'"
    "where\\|"
    "order[ \t\r\n\f]+by\\|"
    "having\\|"
-   "group[ \t\r\n\f]+by"
+   "group[ \t\r\n\f]+by\\|"
+   "connect[ \t\r\n\f]+by\\|"
+   "start[ \t\r\n\f]+with"
    "\\)\\_>"))
 
 (defconst sqlind-select-join-regexp

Reply via email to