[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/sql-indent 0d2b3c9: don't recognize "if" statements aft
From: |
Stefan Monnier |
Subject: |
[elpa] externals/sql-indent 0d2b3c9: don't recognize "if" statements after "routine" and "view" keywords (#100) |
Date: |
Thu, 7 Oct 2021 08:35:21 -0400 (EDT) |
branch: externals/sql-indent
commit 0d2b3c9b0ef5f629c5b9f9eab248a4a01f71b1cc
Author: Vincent Bernardoff <vb@luminar.eu.org>
Commit: GitHub <noreply@github.com>
don't recognize "if" statements after "routine" and "view" keywords (#100)
---
sql-indent.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sql-indent.el b/sql-indent.el
index 5a42695..e3503d7 100644
--- a/sql-indent.el
+++ b/sql-indent.el
@@ -497,7 +497,7 @@ We try to avoid false positives, like \"end if\" or the
various
(forward-word -1)
;; we don't want to match an "end if", and things like "drop index if
;; exists..." and "create index if not exist..."
- (not (looking-at
"end\\|schema\\|table\\|view\\|index\\|trigger\\|procedure\\|function\\|package\\|body\\|extension")))))
+ (not (looking-at
"end\\|schema\\|table\\|view\\|index\\|type\\|trigger\\|procedure\\|function\\|routine\\|package\\|body\\|extension")))))
(defun sqlind-maybe-if-statement ()
"If (point) is on an IF statement, report its syntax."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/sql-indent 0d2b3c9: don't recognize "if" statements after "routine" and "view" keywords (#100),
Stefan Monnier <=