Skip to content

Commit d3c982c

Browse files
Merge pull request #1 from LoamStudios/create-extension
Setup Postgres LSP Extension
2 parents 8907295 + df011cb commit d3c982c

7 files changed

Lines changed: 508 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on:
2+
push:
3+
tags:
4+
- "v*"
5+
6+
jobs:
7+
release:
8+
name: Release Zed Extension
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: huacnlee/zed-extension-action@v1
12+
with:
13+
extension-name: postgres-lsp
14+
# extension-path: extensions/${{ extension-name }}
15+
push-to: LoamStudios/zed-extensions
16+
env:
17+
# the personal access token should have "repo" & "workflow" scopes
18+
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ target/
1414
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
1515
# and can be added to the global gitignore or merged into this file. For a more nuclear
1616
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
17-
#.idea/
17+
#.idea/
18+
19+
grammars/
20+
extension.wasm

Cargo.lock

Lines changed: 329 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
name = "zed_postgres_lsp"
3+
version = "0.0.1"
4+
edition = "2021"
5+
publish = false
6+
license = "MIT"
7+
8+
# [lints]
9+
# workspace = true
10+
11+
[lib]
12+
path = "src/postgres_lsp.rs"
13+
crate-type = ["cdylib"]
14+
15+
[dependencies]
16+
zed_extension_api = "0.3.0"

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# zed-postures-lsp
1+
# zed-postgres-lsp
2+
3+
This extension integrates the [Postgresql LSP](https://github.com/supabase-community/postgres-language-server).

extension.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
id = "postgres-lsp"
2+
name = "Postgres LSP"
3+
version = "0.0.1"
4+
schema_version = 1
5+
authors = ["jeffreyguenther"]
6+
description = "Postgres LSP"
7+
repository = "https://github.com/LoamStudios/zed-postgres-lsp"
8+
9+
[language_servers.postgresql]
10+
name = "Postgresql LSP"
11+
languages = ["SQL"]

0 commit comments

Comments
 (0)