Skip to content

Commit

Permalink
docs: update server_configurations.md
Browse files Browse the repository at this point in the history
skip-checks: true
  • Loading branch information
github-actions[bot] committed Sep 23, 2024
1 parent 6150cce commit dd32991
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/server_configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1745,9 +1745,9 @@ require'lspconfig'.cadence.setup{}

[Cairo Language Server](https://github.com/starkware-libs/cairo/tree/main/crates/cairo-lang-language-server)

First, install cairo following [this tutorial](https://medium.com/@elias.tazartes/ahead-of-the-curve-install-cairo-1-0-alpha-and-prepare-for-regenesis-85f4e3940e20)
First, install Cairo following [this tutorial](https://book.cairo-lang.org/ch01-01-installation.html)

Then enable cairo language server in your lua configuration.
Then enable Cairo Language Server in your Lua configuration.
```lua
require'lspconfig'.cairo_ls.setup{}
```
Expand All @@ -1765,7 +1765,7 @@ require'lspconfig'.cairo_ls.setup{}
**Default values:**
- `cmd` :
```lua
{ "cairo-language-server", "/C", "--node-ipc" }
{ "scarb-cairo-language-server", "/C", "--node-ipc" }
```
- `filetypes` :
```lua
Expand Down
6 changes: 3 additions & 3 deletions doc/server_configurations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1745,9 +1745,9 @@ require'lspconfig'.cadence.setup{}

[Cairo Language Server](https://github.com/starkware-libs/cairo/tree/main/crates/cairo-lang-language-server)

First, install cairo following [this tutorial](https://medium.com/@elias.tazartes/ahead-of-the-curve-install-cairo-1-0-alpha-and-prepare-for-regenesis-85f4e3940e20)
First, install Cairo following [this tutorial](https://book.cairo-lang.org/ch01-01-installation.html)

Then enable cairo language server in your lua configuration.
Then enable Cairo Language Server in your Lua configuration.
```lua
require'lspconfig'.cairo_ls.setup{}
```
Expand All @@ -1765,7 +1765,7 @@ require'lspconfig'.cairo_ls.setup{}
**Default values:**
- `cmd` :
```lua
{ "cairo-language-server", "/C", "--node-ipc" }
{ "scarb-cairo-language-server", "/C", "--node-ipc" }
```
- `filetypes` :
```lua
Expand Down

0 comments on commit dd32991

Please sign in to comment.