https://github.com/svermeulen/tea-leaves
A language server for the Teal language
https://github.com/svermeulen/tea-leaves
Last synced: 27 days ago
JSON representation
A language server for the Teal language
- Host: GitHub
- URL: https://github.com/svermeulen/tea-leaves
- Owner: svermeulen
- License: mit
- Created: 2024-08-19T08:19:59.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-12T03:20:26.000Z (3 months ago)
- Last Synced: 2025-05-02T09:59:20.995Z (30 days ago)
- Language: Lua
- Homepage:
- Size: 157 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tea Leaves
# NOTE: This project is now deprecated. It has been moved and renamed to [teal-language/teal-language-server](https://github.com/teal-language/teal-language-server)
A language server for the [Teal language](https://github.com/teal-language/tl)
[](https://github.com/svermeulen/tea-leaves/actions/workflows/test.yml)
# Installation
### From luarocks
* `luarocks install tea-leaves`
* `tea-leaves`Tested on Windows, Linux and MacOS
### From source
* Clone repo
* From repo root:
* `scripts/setup_local_luarocks`
* `./lua_modules/bin/tea-leaves`# Features
* Go to definition (`textDocument/definition`)
* Linting (`textDocument/publishDiagnostics`)
* Intellisense (`textDocument/completion`)
* Hover (`textDocument/hover`)# Editor Setup
### Neovim
Install the [lspconfig plugin](https://github.com/neovim/nvim-lspconfig) and put the following in your `init.vim` or `init.lua`
```lua
local lspconfig = require("lspconfig")lspconfig.tea_leaves.setup {}
```# Usage
```
tea-leaves [--verbose=true] [--log-mode=none|by_proj_path|by_date]
```Note:
* All args are optional
* By default, logging is 'none' which disables logging completely
* When logging is set to by_proj_path or by_date, the log is output to `[User Home Directory]/.cache/tea-leaves`