diff options
Diffstat (limited to 'doc/server_configurations.md')
| -rw-r--r-- | doc/server_configurations.md | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index c00c6329..320bed00 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -285,6 +285,7 @@ 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) @@ -11957,6 +11958,43 @@ 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 |
