diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-08-20 06:00:58 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-08-20 06:00:58 +0000 |
| commit | 43200fb3a820ed1b6c526e0eb0f3e6e6edd9fd64 (patch) | |
| tree | f8b83bc658dce3d7fd3d2b157034b798912574a4 /doc/server_configurations.md | |
| parent | feat: add tea-leaves support (#3271) (diff) | |
| download | nvim-lspconfig-43200fb3a820ed1b6c526e0eb0f3e6e6edd9fd64.tar nvim-lspconfig-43200fb3a820ed1b6c526e0eb0f3e6e6edd9fd64.tar.gz nvim-lspconfig-43200fb3a820ed1b6c526e0eb0f3e6e6edd9fd64.tar.bz2 nvim-lspconfig-43200fb3a820ed1b6c526e0eb0f3e6e6edd9fd64.tar.lz nvim-lspconfig-43200fb3a820ed1b6c526e0eb0f3e6e6edd9fd64.tar.xz nvim-lspconfig-43200fb3a820ed1b6c526e0eb0f3e6e6edd9fd64.tar.zst nvim-lspconfig-43200fb3a820ed1b6c526e0eb0f3e6e6edd9fd64.zip | |
docs: update server_configurations.md
skip-checks: true
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 |
