Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Proto Language is by extension not native (#21096)

Peter Trippf30de4852a5c
diff --git a/docs/src/languages/proto.md b/docs/src/languages/proto.md
index 934080a1d71..777fd81b8ac 100644
--- a/docs/src/languages/proto.md
+++ b/docs/src/languages/proto.md
@@ -1,9 +1,44 @@
# Proto
-Proto/proto3 (Protocol Buffers definition language) support is available natively in Zed.
+Proto/proto3 (Protocol Buffers definition language) support is available through the [Proto extension](https://github.com/zed-industries/zed/tree/main/extensions/proto).
- Tree Sitter: [coder3101/tree-sitter-proto](https://github.com/coder3101/tree-sitter-proto)
-- Language Server: [protols](https://github.com/coder3101/protols)
+- Language Servers: [protobuf-language-server](https://github.com/lasorda/protobuf-language-server)
+
+<!--
+TBD: Clarify which language server(s) to use / Feature support.
+
+## Setup
+
+### Install protobuf-language-server
+
+Install protobuf-language-server and make sure it's in your PATH:
+
+```
+go install github.com/lasorda/protobuf-language-server@latest
+which protobuf-language-server
+```
+
+### Install ProtoLS
+
+Install protols and make sure it's in your PATH:
+
+```
+cargo install protols
+which protols
+```
+
+## Configuration
+
+```json
+"lsp": {
+ "protobuf-language-server": {
+ "binary": {
+ "path": "protols"
+ }
+ }
+}
+```
## Formatting
@@ -41,3 +76,4 @@ Or you can have zed directly invoke `clang-format` by specifying it as a [format
},
}
```
+-->