aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-09-12 00:46:34 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-09-12 00:46:34 +0000
commit5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b (patch)
tree19c8e6decb5fccbb5daa9e4dd3914556fc7b444a
parentfeat: add `mojo` language server (#2804) (diff)
downloadnvim-lspconfig-5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b.tar
nvim-lspconfig-5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b.tar.gz
nvim-lspconfig-5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b.tar.bz2
nvim-lspconfig-5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b.tar.lz
nvim-lspconfig-5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b.tar.xz
nvim-lspconfig-5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b.tar.zst
nvim-lspconfig-5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md36
-rw-r--r--doc/server_configurations.txt36
2 files changed, 72 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 8ca877bc..0dc93b21 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -124,6 +124,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [mlir_lsp_server](#mlir_lsp_server)
- [mlir_pdll_lsp_server](#mlir_pdll_lsp_server)
- [mm0_ls](#mm0_ls)
+- [mojo](#mojo)
- [move_analyzer](#move_analyzer)
- [nelua_lsp](#nelua_lsp)
- [neocmake](#neocmake)
@@ -5521,6 +5522,41 @@ require'lspconfig'.mm0_ls.setup{}
```
+## mojo
+
+https://github.com/modularml/mojo
+
+`mojo-lsp-server` can be installed [via Modular](https://developer.modular.com/download)
+
+Mojo is a new programming language that bridges the gap between research and production by combining Python syntax and ecosystem with systems programming and metaprogramming features.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.mojo.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "mojo-lsp-server" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "mojo" }
+ ```
+ - `root_dir` :
+ ```lua
+ util.find_git_ancestor
+ ```
+ - `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 8ca877bc..0dc93b21 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -124,6 +124,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [mlir_lsp_server](#mlir_lsp_server)
- [mlir_pdll_lsp_server](#mlir_pdll_lsp_server)
- [mm0_ls](#mm0_ls)
+- [mojo](#mojo)
- [move_analyzer](#move_analyzer)
- [nelua_lsp](#nelua_lsp)
- [neocmake](#neocmake)
@@ -5521,6 +5522,41 @@ require'lspconfig'.mm0_ls.setup{}
```
+## mojo
+
+https://github.com/modularml/mojo
+
+`mojo-lsp-server` can be installed [via Modular](https://developer.modular.com/download)
+
+Mojo is a new programming language that bridges the gap between research and production by combining Python syntax and ecosystem with systems programming and metaprogramming features.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.mojo.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "mojo-lsp-server" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "mojo" }
+ ```
+ - `root_dir` :
+ ```lua
+ util.find_git_ancestor
+ ```
+ - `single_file_support` :
+ ```lua
+ true
+ ```
+
+
## move_analyzer
https://github.com/move-language/move/tree/main/language/move-analyzer