Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit b68cb5d

Browse files
do not add line breaks in SQL*Plus commands, fixes #264
1 parent 25241a1 commit b68cb5d

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

settings/sql_developer/trivadis_custom_format.arbori

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,12 +2075,18 @@ r3_case_expressions:
20752075
& parent < node
20762076
;
20772077

2078+
r3_no_commands:
2079+
[node) sqlplus_command & [oserror) 'OSERROR' & [oserror+1 = [node
2080+
;
2081+
20782082
r3_commands:
2079-
r3_sqlplus_commands
2080-
| r3_sql_commands
2081-
| r3_plsql_commands
2082-
| r3_plsql_keywords
2083-
| r3_case_expressions
2083+
(
2084+
r3_sqlplus_commands
2085+
| r3_sql_commands
2086+
| r3_plsql_commands
2087+
| r3_plsql_keywords
2088+
| r3_case_expressions
2089+
) - r3_no_commands
20842090
-> {
20852091
var node = tuple.get("node");
20862092
// do not add a line break on the first line.

0 commit comments

Comments
 (0)