Skip to content

Commit 89e4a24

Browse files
committed
progress
1 parent 0c1e473 commit 89e4a24

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

docs/schema.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,13 @@
534534
"format": "uint16",
535535
"minimum": 0.0
536536
},
537+
"skipFnBodies": {
538+
"description": "If `true`, skip formatting of SQL function bodies (keep them verbatim). Default: `false`.",
539+
"type": [
540+
"boolean",
541+
"null"
542+
]
543+
},
537544
"typeCase": {
538545
"description": "Data type casing (text, varchar, int): \"upper\" or \"lower\". Default: \"lower\".",
539546
"anyOf": [

packages/@postgres-language-server/backend-jsonrpc/src/workspace.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,10 @@ export interface PartialFormatConfiguration {
452452
* Maximum line width before breaking. Default: 100.
453453
*/
454454
lineWidth?: number;
455+
/**
456+
* If `true`, skip formatting of SQL function bodies (keep them verbatim). Default: `false`.
457+
*/
458+
skipFnBodies?: boolean;
455459
/**
456460
* Data type casing (text, varchar, int): "upper" or "lower". Default: "lower".
457461
*/

packages/@postgrestools/backend-jsonrpc/src/workspace.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,10 @@ export interface PartialFormatConfiguration {
452452
* Maximum line width before breaking. Default: 100.
453453
*/
454454
lineWidth?: number;
455+
/**
456+
* If `true`, skip formatting of SQL function bodies (keep them verbatim). Default: `false`.
457+
*/
458+
skipFnBodies?: boolean;
455459
/**
456460
* Data type casing (text, varchar, int): "upper" or "lower". Default: "lower".
457461
*/

0 commit comments

Comments
 (0)