added ty support

This commit is contained in:
Belal Elsabbagh
2026-01-14 22:02:22 +02:00
parent b76f2b7add
commit 611b9bded8
2 changed files with 6 additions and 0 deletions

View File

@@ -203,4 +203,5 @@ vim.lsp.enable {
'yamlls',
'astrols',
'bashls',
'ty',
}

5
.config/nvim/lsp/ty.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'ty', 'server' },
filetypes = { 'python' },
root_dir = vim.fs.root(0, { '.git/', 'pyproject.toml' }),
}