Skip to content

Commit ff3ae5a

Browse files
authored
chore: fix bug in codegen (#256)
* chore: fix bug in codegen * fix: docs
1 parent fa0c705 commit ff3ae5a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: docs/codegen/src/default_configuration.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub fn generate_default_configuration(docs_dir: &Path) -> anyhow::Result<()> {
88
let index_path = docs_dir.join("index.md");
99

1010
let printed_config = format!(
11-
"\n```json\n{}```\n",
11+
"\n```json\n{}\n```\n",
1212
serde_json::to_string_pretty(&PartialConfiguration::init())?
1313
);
1414

Diff for: docs/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ A collection of language tools and a Language Server Protocol (LSP) implementati
1515
This project provides a toolchain for Postgres development, built on Postgres' own parser `libpg_query` to ensure 100% syntax compatibility. It is built on a Server-Client architecture with a transport-agnostic design. This means all features can be accessed not only through the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/), but also through other interfaces like a CLI, HTTP APIs, or a WebAssembly module. The goal is to make all the great Postgres tooling out there as accessible as possible, and to build anything that is missing ourselves.
1616

1717
Currently, the following features are implemented:
18+
1819
- Autocompletion
1920
- Syntax Error Highlighting
2021
- Type-checking (via `EXPLAIN` error insights)
@@ -64,7 +65,8 @@ After running the `init` command, you’ll have a `postgrestools.jsonc` file in
6465
"database": "postgres",
6566
"connTimeoutSecs": 10
6667
}
67-
}```
68+
}
69+
```
6870

6971
[//]: # (END DEFAULT_CONFIGURATION)
7072

0 commit comments

Comments
 (0)