feat(format): implement PL/pgSQL body formatting

* add formatBody and formatBodyInner functions for DECLARE section
* update needSpace to handle LBracket correctly
* enhance semanticallyEqual to compare dollar-quoted bodies
* add test data for broken layout scenarios
This commit is contained in:
warkanum committed 2026-06-23 21:15:27 +02:00
1 parent 625ddc79a1
commit 6492ab35b7
7 files changed
+454 -18

No files matched your search

+2
View File
@@ -163,3 +163,5 @@ dist
.yarn/install-state.gz
.pnp.*
temp/*
dist/*