docs: update server_configurations.md

skip-checks: true
This commit is contained in:
github-actions[bot] 2024-08-02 05:52:57 +00:00
parent 5c5940e9b3
commit d710f5c58d
2 changed files with 92 additions and 0 deletions

View file

@ -275,6 +275,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [steep](#steep)
- [stimulus_ls](#stimulus_ls)
- [stylelint_lsp](#stylelint_lsp)
- [superhtml](#superhtml)
- [svelte](#svelte)
- [svlangserver](#svlangserver)
- [svls](#svls)
@ -11558,6 +11559,51 @@ require'lspconfig'.stylelint_lsp.setup{}
```
## superhtml
https://github.com/kristoff-it/superhtml
HTML Language Server & Templating Language Library
This LSP is designed to tightly adhere to the HTML spec as well as enforcing
some additional rules that ensure HTML clarity.
If you want to disable HTML support for another HTML LSP, add the following
to your configuration:
```lua
require'lspconfig'.superhtml.setup {
filetypes = { 'superhtml' }
}
```
**Snippet to enable the language server:**
```lua
require'lspconfig'.superhtml.setup{}
```
**Default values:**
- `cmd` :
```lua
{ "superhtml", "lsp" }
```
- `filetypes` :
```lua
{ "superhtml", "html" }
```
- `root_dir` :
```lua
util.find_git_ancestor
```
- `single_file_support` :
```lua
true
```
## svelte
https://github.com/sveltejs/language-tools/tree/master/packages/language-server

View file

@ -275,6 +275,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [steep](#steep)
- [stimulus_ls](#stimulus_ls)
- [stylelint_lsp](#stylelint_lsp)
- [superhtml](#superhtml)
- [svelte](#svelte)
- [svlangserver](#svlangserver)
- [svls](#svls)
@ -11558,6 +11559,51 @@ require'lspconfig'.stylelint_lsp.setup{}
```
## superhtml
https://github.com/kristoff-it/superhtml
HTML Language Server & Templating Language Library
This LSP is designed to tightly adhere to the HTML spec as well as enforcing
some additional rules that ensure HTML clarity.
If you want to disable HTML support for another HTML LSP, add the following
to your configuration:
```lua
require'lspconfig'.superhtml.setup {
filetypes = { 'superhtml' }
}
```
**Snippet to enable the language server:**
```lua
require'lspconfig'.superhtml.setup{}
```
**Default values:**
- `cmd` :
```lua
{ "superhtml", "lsp" }
```
- `filetypes` :
```lua
{ "superhtml", "html" }
```
- `root_dir` :
```lua
util.find_git_ancestor
```
- `single_file_support` :
```lua
true
```
## svelte
https://github.com/sveltejs/language-tools/tree/master/packages/language-server