aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/server_configurations.md43
-rw-r--r--doc/server_configurations.txt43
2 files changed, 86 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index dc745e0d..9db56166 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -23,6 +23,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [bsl_ls](#bsl_ls)
- [bufls](#bufls)
- [cadence](#cadence)
+- [cairo_ls](#cairo_ls)
- [ccls](#ccls)
- [clangd](#clangd)
- [clarity_lsp](#clarity_lsp)
@@ -1011,6 +1012,48 @@ require'lspconfig'.cadence.setup{}
```
+## cairo_ls
+
+[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)
+
+Then enable cairo language server in your lua configuration.
+```lua
+require'lspconfig'.cairo_ls.setup{}
+```
+
+*cairo-language-server is still under active development, some features might not work yet !*
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.cairo_ls.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "cairo-language-server", "/C", "--node-ipc" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "cairo" }
+ ```
+ - `init_options` :
+ ```lua
+ {
+ hostInfo = "neovim"
+ }
+ ```
+ - `root_dir` :
+ ```lua
+ root_pattern("package.json", "tsconfig.json", "jsconfig.json", ".git")
+ ```
+
+
## ccls
https://github.com/MaskRay/ccls/wiki
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index dc745e0d..9db56166 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -23,6 +23,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [bsl_ls](#bsl_ls)
- [bufls](#bufls)
- [cadence](#cadence)
+- [cairo_ls](#cairo_ls)
- [ccls](#ccls)
- [clangd](#clangd)
- [clarity_lsp](#clarity_lsp)
@@ -1011,6 +1012,48 @@ require'lspconfig'.cadence.setup{}
```
+## cairo_ls
+
+[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)
+
+Then enable cairo language server in your lua configuration.
+```lua
+require'lspconfig'.cairo_ls.setup{}
+```
+
+*cairo-language-server is still under active development, some features might not work yet !*
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.cairo_ls.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "cairo-language-server", "/C", "--node-ipc" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "cairo" }
+ ```
+ - `init_options` :
+ ```lua
+ {
+ hostInfo = "neovim"
+ }
+ ```
+ - `root_dir` :
+ ```lua
+ root_pattern("package.json", "tsconfig.json", "jsconfig.json", ".git")
+ ```
+
+
## ccls
https://github.com/MaskRay/ccls/wiki