-
Notifications
You must be signed in to change notification settings - Fork 219
Description
Question
I want to tryout ty in my neovim 0.11.5 setup using the native lsp, but cannot seem to get it to report any issues. Using ty check works just fine and also my config for ruff works in neovim.
The minimal setup from "Editor integration" does not work for me, since it misses the cmd setting. Below is the minimal init.lua that I could get to work for ruff, but it does not work for ty.
vim.lsp.config("ty", {
cmd = { "ty", "server" }
})
vim.lsp.enable("ty")
vim.lsp.config("ruff", {
cmd = { "ruff", "server" }
})
vim.lsp.enable("ruff")In main.py I induced both a syntax and type error:
def main() -> str:
print("hello"Using ty check main.py these errors get reported correctly and ruff also reports the syntax error in neovim, but ty does not. Here is the trace log from that test: ty.log
I also tried to use uvx ty server as the command and also uv run ty server with ty installed in the project but the result is the same.
Am I doing something wrong in this setup? Thanks for any help on this as I would love to try out ty.
Version
ty 0.0.13 (fc1478b 2026-01-21)