branch: externals/sql-indent
commit b132e0fa10508e6b086221084d7017aeb2d0dc00
Author: Pierre Téchoueyres <[email protected]>
Commit: Pierre Téchoueyres <[email protected]>
Add new keywords in `sqlind-sqlplus-directive'.
Add Oracle's keywords to start scripts inside a script.
---
sql-indent.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sql-indent.el b/sql-indent.el
index c21aa7e..d831e28 100644
--- a/sql-indent.el
+++ b/sql-indent.el
@@ -162,7 +162,7 @@ a strinf or comment."
(defconst sqlind-sqlplus-directive
(concat "^"
- (regexp-opt '("column" "set" "rem" "define" "spool" "prompt" "clear"
"compute" "whenever") t)
+ (regexp-opt '("column" "set" "rem" "define" "spool" "prompt" "clear"
"compute" "whenever" "@" "@@" "start") t)
"\\b")
"Match an SQL*Plus directive at the beginning of a line.
A directive always stands on a line by itself -- we use that to