docs: update server_configurations.md

skip-checks: true
This commit is contained in:
github-actions[bot] 2024-08-27 13:08:05 +00:00
parent a05f8d1e2c
commit 2a6f00ff66
2 changed files with 14 additions and 80 deletions

View file

@ -285,7 +285,6 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [tailwindcss](#tailwindcss)
- [taplo](#taplo)
- [tblgen_lsp_server](#tblgen_lsp_server)
- [tea_leaves](#tea_leaves)
- [teal_ls](#teal_ls)
- [templ](#templ)
- [terraform_lsp](#terraform_lsp)
@ -12007,52 +12006,20 @@ require'lspconfig'.tblgen_lsp_server.setup{}
```
## tea_leaves
https://github.com/svermeulen/tea-leaves
Install with:
```
luarocks install tea-leaves
```
Optional Command Args:
* "--log-mode=by_date" - Enable logging in $HOME/.cache/tea-leaves. Log name will be date + pid of process
* "--log-mode=by_proj_path" - Enable logging in $HOME/.cache/tea-leaves. Log name will be project path + pid of process
* "--verbose=true" - Increases log level. Does nothing unless log-mode is set
**Snippet to enable the language server:**
```lua
require'lspconfig'.tea_leaves.setup{}
```
**Default values:**
- `cmd` :
```lua
{ "tea-leaves" }
```
- `filetypes` :
```lua
{ "teal" }
```
- `root_dir` :
```lua
root_pattern("tlconfig.lua")
```
## teal_ls
https://github.com/teal-language/teal-language-server
Install with:
```
luarocks install --dev teal-language-server
luarocks install teal-language-server
```
Optional Command Args:
* "--log-mode=by_date" - Enable logging in $HOME/.cache/teal-language-server. Log name will be date + pid of process
* "--log-mode=by_proj_path" - Enable logging in $HOME/.cache/teal-language-server. Log name will be project path + pid of process
* "--verbose=true" - Increases log level. Does nothing unless log-mode is set
**Snippet to enable the language server:**
@ -12072,7 +12039,7 @@ require'lspconfig'.teal_ls.setup{}
```
- `root_dir` :
```lua
root_pattern("tlconfig.lua", ".git")
root_pattern("tlconfig.lua")
```

View file

@ -285,7 +285,6 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [tailwindcss](#tailwindcss)
- [taplo](#taplo)
- [tblgen_lsp_server](#tblgen_lsp_server)
- [tea_leaves](#tea_leaves)
- [teal_ls](#teal_ls)
- [templ](#templ)
- [terraform_lsp](#terraform_lsp)
@ -12007,52 +12006,20 @@ require'lspconfig'.tblgen_lsp_server.setup{}
```
## tea_leaves
https://github.com/svermeulen/tea-leaves
Install with:
```
luarocks install tea-leaves
```
Optional Command Args:
* "--log-mode=by_date" - Enable logging in $HOME/.cache/tea-leaves. Log name will be date + pid of process
* "--log-mode=by_proj_path" - Enable logging in $HOME/.cache/tea-leaves. Log name will be project path + pid of process
* "--verbose=true" - Increases log level. Does nothing unless log-mode is set
**Snippet to enable the language server:**
```lua
require'lspconfig'.tea_leaves.setup{}
```
**Default values:**
- `cmd` :
```lua
{ "tea-leaves" }
```
- `filetypes` :
```lua
{ "teal" }
```
- `root_dir` :
```lua
root_pattern("tlconfig.lua")
```
## teal_ls
https://github.com/teal-language/teal-language-server
Install with:
```
luarocks install --dev teal-language-server
luarocks install teal-language-server
```
Optional Command Args:
* "--log-mode=by_date" - Enable logging in $HOME/.cache/teal-language-server. Log name will be date + pid of process
* "--log-mode=by_proj_path" - Enable logging in $HOME/.cache/teal-language-server. Log name will be project path + pid of process
* "--verbose=true" - Increases log level. Does nothing unless log-mode is set
**Snippet to enable the language server:**
@ -12072,7 +12039,7 @@ require'lspconfig'.teal_ls.setup{}
```
- `root_dir` :
```lua
root_pattern("tlconfig.lua", ".git")
root_pattern("tlconfig.lua")
```