NOTE: This project is now deprecated. It has been moved and renamed to teal-language/teal-language-server
A language server for the Teal language
luarocks install tea-leaves
tea-leaves
Tested on Windows, Linux and MacOS
- Clone repo
- From repo root:
scripts/setup_local_luarocks
./lua_modules/bin/tea-leaves
- Go to definition (
textDocument/definition
) - Linting (
textDocument/publishDiagnostics
) - Intellisense (
textDocument/completion
) - Hover (
textDocument/hover
)
Install the lspconfig plugin and put the following in your init.vim
or init.lua
local lspconfig = require("lspconfig")
lspconfig.tea_leaves.setup {}
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