aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-04-18 09:03:19 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-04-18 09:03:19 +0000
commit1a3a429efec62af632dfd8fa9b52fa226f655ec2 (patch)
treed380e50a5baaab897c04ea85d7d718f03a6bfdfc
parentfeat: add emmylua_ls (#3745) (diff)
downloadnvim-lspconfig-1a3a429efec62af632dfd8fa9b52fa226f655ec2.tar
nvim-lspconfig-1a3a429efec62af632dfd8fa9b52fa226f655ec2.tar.gz
nvim-lspconfig-1a3a429efec62af632dfd8fa9b52fa226f655ec2.tar.bz2
nvim-lspconfig-1a3a429efec62af632dfd8fa9b52fa226f655ec2.tar.lz
nvim-lspconfig-1a3a429efec62af632dfd8fa9b52fa226f655ec2.tar.xz
nvim-lspconfig-1a3a429efec62af632dfd8fa9b52fa226f655ec2.tar.zst
nvim-lspconfig-1a3a429efec62af632dfd8fa9b52fa226f655ec2.zip
docs: update configs.md
skip-checks: true
-rw-r--r--doc/configs.md37
-rw-r--r--doc/configs.txt35
2 files changed, 70 insertions, 2 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 63b1e451..e3c9558f 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -87,6 +87,7 @@ Nvim by running `:help lspconfig-all`.
- [ember](#ember)
- [emmet_language_server](#emmet_language_server)
- [emmet_ls](#emmet_ls)
+- [emmylua_ls](#emmylua_ls)
- [erg_language_server](#erg_language_server)
- [erlangls](#erlangls)
- [esbonio](#esbonio)
@@ -3356,6 +3357,40 @@ Default config:
---
+## emmylua_ls
+
+https://github.com/EmmyLuaLs/emmylua-analyzer-rust
+
+Emmylua Analyzer Rust. Language Server for Lua.
+
+`emmylua_ls` can be installed using `cargo` by following the instructions[here]
+(https://github.com/EmmyLuaLs/emmylua-analyzer-rust?tab=readme-ov-file#install).
+
+The default `cmd` assumes that the `emmylua_ls` binary can be found in `$PATH`.
+It might require you to provide cargo binaries installation path in it.
+
+Snippet to enable the language server:
+```lua
+require'lspconfig'.emmylua_ls.setup{}
+```
+
+Default config:
+- `cmd` :
+ ```lua
+ { "emmylua_ls" }
+ ```
+- `filetypes` :
+ ```lua
+ { "lua" }
+ ```
+- `root_markers` :
+ ```lua
+ { ".luarc.json", ".emmyrc.json", ".luacheckrc", ".git" }
+ ```
+- `workspace_required` : `false`
+
+---
+
## erg_language_server
https://github.com/erg-lang/erg#flags ELS
@@ -7137,7 +7172,7 @@ Default config:
```
- `cmd` :
```lua
- { "OmniSharp", "-z", "--hostPID", "1882", "DotNet:enablePackageRestore=false", "--encoding", "utf-8", "--languageserver" }
+ { "OmniSharp", "-z", "--hostPID", "1961", "DotNet:enablePackageRestore=false", "--encoding", "utf-8", "--languageserver" }
```
- `filetypes` :
```lua
diff --git a/doc/configs.txt b/doc/configs.txt
index 9ce35d56..e0c6cf61 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -2940,6 +2940,39 @@ Default config:
------------------------------------------------------------------------------
+emmylua_ls
+
+https://github.com/EmmyLuaLs/emmylua-analyzer-rust
+
+Emmylua Analyzer Rust. Language Server for Lua.
+
+`emmylua_ls` can be installed using `cargo` by following the instructions[here]
+(https://github.com/EmmyLuaLs/emmylua-analyzer-rust?tab=readme-ov-file#install).
+
+The default `cmd` assumes that the `emmylua_ls` binary can be found in `$PATH`.
+It might require you to provide cargo binaries installation path in it.
+
+Snippet to enable the language server: >lua
+ vim.lsp.enable('emmylua_ls')
+
+
+Default config:
+- `cmd` :
+ ```lua
+ { "emmylua_ls" }
+ ```
+- `filetypes` :
+ ```lua
+ { "lua" }
+ ```
+- `root_markers` :
+ ```lua
+ { ".luarc.json", ".emmyrc.json", ".luacheckrc", ".git" }
+ ```
+- `workspace_required` : `false`
+
+
+------------------------------------------------------------------------------
erg_language_server
https://github.com/erg-lang/erg#flags ELS
@@ -6616,7 +6649,7 @@ Default config:
```
- `cmd` :
```lua
- { "OmniSharp", "-z", "--hostPID", "1882", "DotNet:enablePackageRestore=false", "--encoding", "utf-8", "--languageserver" }
+ { "OmniSharp", "-z", "--hostPID", "1961", "DotNet:enablePackageRestore=false", "--encoding", "utf-8", "--languageserver" }
```
- `filetypes` :
```lua