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

Commit b1c71ed

Browse files
handle only statement in formatter scope in rule A8: one space after node
1 parent 5005135 commit b1c71ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

settings/sql_developer/trivadis_custom_format.arbori

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1851,7 +1851,7 @@ a8_one_space_after:
18511851
| a8_update
18521852
-> {
18531853
var node = tuple.get("node");
1854-
if (!hasCommentsBetweenPos(node.from, node.to)) {
1854+
if (overrideIndents(node.from) && !hasCommentsBetweenPos(node.from, node.to)) {
18551855
struct.putNewline(node.to, " ");
18561856
var content = target.src.get(node.from).content;
18571857
logger.fine(struct.getClass(), "a8_one_space_after: <" + content + "> at " + node.to + ".");

0 commit comments

Comments
 (0)