aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-06 05:42:02 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-06 05:42:02 +0000
commit7383bacd57abd6d86e51765b80d7adf5707ab30d (patch)
tree3f2de5474aab135ee515efaeb06309b19d88a002
parentfeat: add hyprls support (#3137) (diff)
downloadnvim-lspconfig-7383bacd57abd6d86e51765b80d7adf5707ab30d.tar
nvim-lspconfig-7383bacd57abd6d86e51765b80d7adf5707ab30d.tar.gz
nvim-lspconfig-7383bacd57abd6d86e51765b80d7adf5707ab30d.tar.bz2
nvim-lspconfig-7383bacd57abd6d86e51765b80d7adf5707ab30d.tar.lz
nvim-lspconfig-7383bacd57abd6d86e51765b80d7adf5707ab30d.tar.xz
nvim-lspconfig-7383bacd57abd6d86e51765b80d7adf5707ab30d.tar.zst
nvim-lspconfig-7383bacd57abd6d86e51765b80d7adf5707ab30d.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md38
-rw-r--r--doc/server_configurations.txt38
2 files changed, 76 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index abd6d007..bc073c26 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -125,6 +125,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [html](#html)
- [htmx](#htmx)
- [hydra_lsp](#hydra_lsp)
+- [hyprls](#hyprls)
- [idris2_lsp](#idris2_lsp)
- [intelephense](#intelephense)
- [java_language_server](#java_language_server)
@@ -5602,6 +5603,43 @@ require'lspconfig'.hydra_lsp.setup{}
```
+## hyprls
+
+https://github.com/hyprland-community/hyprls
+
+`hyprls` can be installed via `go`:
+```sh
+go install github.com/ewen-lbh/hyprls/cmd/hyprls@latest
+```
+
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.hyprls.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "hyprls", "--stdio" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "*.hl", "hypr*.conf", ".config/hypr/*.conf" }
+ ```
+ - `root_dir` :
+ ```lua
+ util.find_git_ancestor
+ ```
+ - `single_file_support` :
+ ```lua
+ true
+ ```
+
+
## idris2_lsp
https://github.com/idris-community/idris2-lsp
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index abd6d007..bc073c26 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -125,6 +125,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [html](#html)
- [htmx](#htmx)
- [hydra_lsp](#hydra_lsp)
+- [hyprls](#hyprls)
- [idris2_lsp](#idris2_lsp)
- [intelephense](#intelephense)
- [java_language_server](#java_language_server)
@@ -5602,6 +5603,43 @@ require'lspconfig'.hydra_lsp.setup{}
```
+## hyprls
+
+https://github.com/hyprland-community/hyprls
+
+`hyprls` can be installed via `go`:
+```sh
+go install github.com/ewen-lbh/hyprls/cmd/hyprls@latest
+```
+
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.hyprls.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "hyprls", "--stdio" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "*.hl", "hypr*.conf", ".config/hypr/*.conf" }
+ ```
+ - `root_dir` :
+ ```lua
+ util.find_git_ancestor
+ ```
+ - `single_file_support` :
+ ```lua
+ true
+ ```
+
+
## idris2_lsp
https://github.com/idris-community/idris2-lsp