Format docs with Prettier (#8134)
This PR formats the docs with Prettier. Release Notes: - N/A
This commit is contained in:
@@ -22,6 +22,7 @@ Zed sets the following initialization options for inlay hints:
|
||||
to make the language server send back inlay hints when Zed has them enabled in the settings.
|
||||
|
||||
Use
|
||||
|
||||
```json
|
||||
"lsp": {
|
||||
"$LANGUAGE_SERVER_NAME": {
|
||||
@@ -33,6 +34,7 @@ Use
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
to override these settings.
|
||||
|
||||
See https://github.com/golang/tools/blob/master/gopls/doc/inlayHints.md for more information.
|
||||
@@ -49,5 +51,5 @@ TODO: https://github.com/zed-industries/zed/pull/7139
|
||||
# Go Work
|
||||
|
||||
- Tree Sitter:
|
||||
[tree-sitter-go-work](https://github.com/d1y/tree-sitter-go-work)
|
||||
[tree-sitter-go-work](https://github.com/d1y/tree-sitter-go-work)
|
||||
- Language Server: N/A
|
||||
|
||||
@@ -4,14 +4,17 @@
|
||||
- Language Server: [ocamllsp](https://github.com/ocaml/ocaml-lsp)
|
||||
|
||||
## Setup Instructions
|
||||
|
||||
If you have the development environment already setup, you can skip to [Launching Zed](#launching-zed)
|
||||
|
||||
### Using OPAM
|
||||
Opam is the official package manager for OCaml and is highly recommended for getting started with OCaml. To get started using Opam, please follow the instructions provided [here](https://ocaml.org/install).
|
||||
|
||||
Opam is the official package manager for OCaml and is highly recommended for getting started with OCaml. To get started using Opam, please follow the instructions provided [here](https://ocaml.org/install).
|
||||
|
||||
Once you install opam and setup a switch with your development environment as per the instructions, you can proceed.
|
||||
|
||||
### Launching Zed
|
||||
|
||||
By now you should have `ocamllsp` installed, you can verify so by running
|
||||
|
||||
```sh
|
||||
@@ -22,7 +25,7 @@ in your terminal. If you get a help message, you're good to go. If not, please r
|
||||
|
||||
With that aside, we can now launch Zed. Given how the OCaml package manager works, we require you to run Zed from the terminal, so please make sure you install the [Zed cli](https://zed.dev/features#cli) if you haven't already.
|
||||
|
||||
Once you have the cli, simply from a terminal, navigate to your project and run
|
||||
Once you have the cli, simply from a terminal, navigate to your project and run
|
||||
|
||||
```sh
|
||||
$ zed .
|
||||
|
||||
@@ -51,6 +51,7 @@ Use
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
to override these settings.
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ Zed sets the following initialization options for inlay hints:
|
||||
to make the language server send back inlay hints when Zed has them enabled in the settings.
|
||||
|
||||
Use
|
||||
|
||||
```json
|
||||
"lsp": {
|
||||
"$LANGUAGE_SERVER_NAME": {
|
||||
@@ -34,6 +35,7 @@ Use
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
to override these settings.
|
||||
|
||||
See https://github.com/typescript-language-server/typescript-language-server?tab=readme-ov-file#inlay-hints-textdocumentinlayhint for more information.
|
||||
|
||||
Reference in New Issue
Block a user