TezzNative includes a high-performance native Language Server daemon (tezz_lsp.exe) implementing the LSP v3.17 specification for full autocompletion, hover diagnostics, and definition navigation in any editor.
Instant syntax validation, missing colon detection, type mismatch warnings, and compile-time checks as you type.
Hover over functions, variables, structs, or tensor shapes to view signature types and documentation.
Jump directly to function declarations, imported modules, structs, and constants across workspace files.
Context-aware completions for keywords (async, await, defer), module exports, and tensor methods.
Add the following snippet to your init.lua or LSP configuration file:
local lspconfig = require('lspconfig')
local configs = require('lspconfig.configs')
if not configs.tezz_lsp then
configs.tezz_lsp = {
default_config = {
cmd = { "tezz_lsp.exe" },
filetypes = { "tezz", "tn" },
root_dir = lspconfig.util.root_pattern("tezz.mod", ".git"),
settings = {},
},
}
end
lspconfig.tezz_lsp.setup({})
In ~/.config/zed/settings.json, register the language server:
{
"languages": {
"TezzNative": {
"language_servers": ["tezz-lsp"]
}
},
"lsp": {
"tezz-lsp": {
"binary": { "path": "tezz_lsp.exe" }
}
}
}
Install the official tezznative-vscode extension package:
code --install-extension tezznative-language-2.2.vsix
# Extension bindings are also automatically configured by the CLI installer!