aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-07 05:26:31 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-07 05:26:31 +0000
commit9a5a3ebd63b0bf7f8528ed2ca65c8c8bcd2bbeae (patch)
tree45f11c19662e4eba4f80a04bf586cb19ca76ffaa
parentfeat: add motoko-lsp support (#3140) (diff)
downloadnvim-lspconfig-9a5a3ebd63b0bf7f8528ed2ca65c8c8bcd2bbeae.tar
nvim-lspconfig-9a5a3ebd63b0bf7f8528ed2ca65c8c8bcd2bbeae.tar.gz
nvim-lspconfig-9a5a3ebd63b0bf7f8528ed2ca65c8c8bcd2bbeae.tar.bz2
nvim-lspconfig-9a5a3ebd63b0bf7f8528ed2ca65c8c8bcd2bbeae.tar.lz
nvim-lspconfig-9a5a3ebd63b0bf7f8528ed2ca65c8c8bcd2bbeae.tar.xz
nvim-lspconfig-9a5a3ebd63b0bf7f8528ed2ca65c8c8bcd2bbeae.tar.zst
nvim-lspconfig-9a5a3ebd63b0bf7f8528ed2ca65c8c8bcd2bbeae.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md40
-rw-r--r--doc/server_configurations.txt40
2 files changed, 80 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index bc073c26..2f16f946 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -160,6 +160,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [mlir_pdll_lsp_server](#mlir_pdll_lsp_server)
- [mm0_ls](#mm0_ls)
- [mojo](#mojo)
+- [motoko_lsp](#motoko_lsp)
- [move_analyzer](#move_analyzer)
- [mutt_ls](#mutt_ls)
- [nelua_lsp](#nelua_lsp)
@@ -7132,6 +7133,45 @@ require'lspconfig'.mojo.setup{}
```
+## motoko_lsp
+
+https://github.com/dfinity/vscode-motoko
+
+Language server for the Motoko programming language.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.motoko_lsp.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "motoko-lsp", "--stdio" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "motoko" }
+ ```
+ - `init_options` :
+ ```lua
+ {
+ formatter = "auto"
+ }
+ ```
+ - `root_dir` :
+ ```lua
+ root_pattern("dfx.json", ".git")
+ ```
+ - `single_file_support` :
+ ```lua
+ true
+ ```
+
+
## move_analyzer
https://github.com/move-language/move/tree/main/language/move-analyzer
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index bc073c26..2f16f946 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -160,6 +160,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [mlir_pdll_lsp_server](#mlir_pdll_lsp_server)
- [mm0_ls](#mm0_ls)
- [mojo](#mojo)
+- [motoko_lsp](#motoko_lsp)
- [move_analyzer](#move_analyzer)
- [mutt_ls](#mutt_ls)
- [nelua_lsp](#nelua_lsp)
@@ -7132,6 +7133,45 @@ require'lspconfig'.mojo.setup{}
```
+## motoko_lsp
+
+https://github.com/dfinity/vscode-motoko
+
+Language server for the Motoko programming language.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.motoko_lsp.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "motoko-lsp", "--stdio" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "motoko" }
+ ```
+ - `init_options` :
+ ```lua
+ {
+ formatter = "auto"
+ }
+ ```
+ - `root_dir` :
+ ```lua
+ root_pattern("dfx.json", ".git")
+ ```
+ - `single_file_support` :
+ ```lua
+ true
+ ```
+
+
## move_analyzer
https://github.com/move-language/move/tree/main/language/move-analyzer