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 May 7, 2024
1 parent 705d366 commit 9a5a3eb
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
40 changes: 40 additions & 0 deletions doc/server_configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
40 changes: 40 additions & 0 deletions doc/server_configurations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9a5a3eb

Please sign in to comment.