Skip to content

Commit

Permalink
docs: update server_configurations.md
Browse files Browse the repository at this point in the history
skip-checks: true
  • Loading branch information
github-actions[bot] committed Aug 27, 2024
1 parent a05f8d1 commit 2a6f00f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 78 deletions.
45 changes: 6 additions & 39 deletions doc/server_configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -12007,54 +12006,22 @@ require'lspconfig'.tblgen_lsp_server.setup{}
```


## tea_leaves
## teal_ls

https://github.com/svermeulen/tea-leaves
https://github.com/teal-language/teal-language-server

Install with:
```
luarocks install tea-leaves
luarocks install teal-language-server
```

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
* "--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:**
```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
```



**Snippet to enable the language server:**
```lua
require'lspconfig'.teal_ls.setup{}
Expand All @@ -12072,7 +12039,7 @@ require'lspconfig'.teal_ls.setup{}
```
- `root_dir` :
```lua
root_pattern("tlconfig.lua", ".git")
root_pattern("tlconfig.lua")
```


Expand Down
45 changes: 6 additions & 39 deletions doc/server_configurations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -12007,54 +12006,22 @@ require'lspconfig'.tblgen_lsp_server.setup{}
```


## tea_leaves
## teal_ls

https://github.com/svermeulen/tea-leaves
https://github.com/teal-language/teal-language-server

Install with:
```
luarocks install tea-leaves
luarocks install teal-language-server
```

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
* "--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:**
```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
```



**Snippet to enable the language server:**
```lua
require'lspconfig'.teal_ls.setup{}
Expand All @@ -12072,7 +12039,7 @@ require'lspconfig'.teal_ls.setup{}
```
- `root_dir` :
```lua
root_pattern("tlconfig.lua", ".git")
root_pattern("tlconfig.lua")
```


Expand Down

0 comments on commit 2a6f00f

Please sign in to comment.